Get-FinOpsService Gets the name and category for a service, publisher, and cloud provider to support FinOps Open Cost and Usage Specification (FOCUS).

Syntax Examples

On this page

The Get-FinOpsService command returns service details based on the specified filters. This command is designed to help map Cost Management cost data to the FinOps Open Cost and Usage Specification (FOCUS) schema but can also be useful for general data cleansing.

Both ConsumedService and ResourceType are required to find a unique service in many cases.


๐Ÿงฎ Syntax

Get-FinOpsService `
    [[-ConsumedService] <string>] `
    [[-ResourceId] <string>] `
    [[-ResourceType] <string>] `
    [-ServiceName <string>] `
    [-ServiceCategory <string>] `
    [-PublisherName <string>] `
    [-PublisherCategory <string>]


๐Ÿ“ฅ Parameters

Name Description
ConsumedService Optional. ConsumedService value from a Cost Management cost/usage details dataset. Accepts wildcards. Default = * (all).
ResourceId Optional. The Azure resource ID for resource you want to look up. Accepts wildcards. Default = * (all).
ResourceType Optional. The Azure resource type for the resource you want to find the service for. Default = null (all).
ServiceName Optional. The service name to find. Default = null (all).
ServiceCategory Optional. The service category to find services for. Default = null (all).
PublisherName Optional. The publisher name to find services for. Default = null (all).
PublisherCategory Optional. The publisher category to find services for. Default = null (all).


๐ŸŒŸ Examples

Get a specific region

Get-FinOpsService `
    -ConsumedService "Microsoft.C*" `
    -ResourceType "Microsoft.Compute/virtualMachines"

Returns all services with a resource provider that starts with โ€œMicrosoft.Cโ€.



  • ๐Ÿฆ FinOps hubs โ€“ Open, extensible, and scalable cost reporting.
  • ๐Ÿ“Š Power BI reports โ€“ Accelerate your reporting with Power BI starter kits.
  • ๐ŸŒ Open data โ€“ Data available for anyone to access, use, and share without restriction.