PowerShell module Automate and scale your FinOps efforts with PowerShell commands that streamline operations and accelerate adoption across projects and teams.
On this page
The FinOps toolkit PowerShell module is a collection of commands to automate and manage FinOps solutions. Weβre just getting started so let us know what youβd like to see next.
π₯ Install the module
Import-Module -Name FinOpsToolkit
β‘ Commands
General toolkit commands
- Get-FinOpsToolkitVersion β Get details about available FinOps toolkit releases.
Cost Management commands
- Get-FinOpsCostExport β Get details about Cost Management exports.
- New-FinOpsCostExport β Create a new Cost Management export.
- Remove-FinOpsCostExport β Delete a Cost Management export and optionally data associated with the export.
- Start-FinOpsCostExport β Initiates a Cost Management export run for the most recent period.
FinOps hubs commands
- Deploy-FinOpsHub β Deploy your first hub or update to the latest version.
- Get-FinOpsHub β Get details about your FinOps hub instance.
- Initialize-FinOpsHubDeployment β Initializes the deployment for FinOps hubs.
- Register-FinOpsHubProviders β Registers resource providers for FinOps hubs.
- Remove-FinOpsHub β Deletes a FinOps hub instance.
Open data commands
- Get-FinOpsPricingUnit β Gets an Azure region ID and name.
- Get-FinOpsRegion β Gets an Azure region ID and name.
- Get-FinOpsResourceType β Gets details about an Azure resource type.
- Get-FinOpsService β Gets the name and category for a service, publisher, and cloud provider.
Deprecated: FinOps Open Cost and Usage Specification (FOCUS) commands
FOCUS commands were implemented before Microsoft Cost Management supported a native FOCUS export. Going forward, we recommend using the native export. These commands will remain available but will not be updated to support FOCUS 1.0-preview. If you have a scenario where you need a PowerShell converter, please create an issue to request what you need.
- ConvertTo-FinOpsSchema β Converts Cost Management cost data to the FOCUS schema.
- Invoke-FinOpsSchema β Loads Cost Management data from a CSV file, converts it to FOCUS schema, and saves it to a new CSV file.
πββοΈ Looking for more?
Weβd love to hear about any commands or scripts youβre looking for. Vote up (π) existing ideas or create a new issue to suggest a new idea. Weβll focus on ideas with the most votes.
π§° Related tools
- π¦ FinOps hubs β Open, extensible, and scalable cost reporting.
- π¦Ύ Bicep Registry modules β Official repository for Bicep modules.