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
The FinOps toolkit module requires PowerShell 7, which is built into Azure Cloud Shell and supported on all major operating systems.
Azure Cloud Shell comes with PowerShell 7 and Azure PowerShell pre-installed. If you are not using Azure Cloud Shell, you will need to Install PowerShell first and then run the following commands to install Azure PowerShell:
Install-Module -Name Az.Accounts
Install-Module -Name Az.Resources
To install the FinOps toolkit module, run the following in either Azure Cloud Shell or a PowerShell client:
Install-Module -Name FinOpsToolkit
If this is the first time using Azure PowerShell, you will also need to sign into your account and select a default subscription:
Connect-AzAccount
This will show a popup window to sign in to your account. If you do not see the window, it may be on a different screen.
β‘ 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.
πββοΈ 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.