How to do dataset Aggregation with Invoke-AzCostManagementQuery? #17710
-
The documentation on this powershell cmdlet is very unclear. It just says 'Hashtable' for the required input. A hashtable is not allowed it seems when trying to run eg by creating one and feeding it in as a variable. When i query the Cost Management API using Postman, i can do something like this: "dataset": { How do I recreate this with Invoke-AzCostManagementQuery? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@Sweggle , when I try to use hashtable for -DatasetAggregation , even if it’s null value, it works. Here's my script:
or
|
Beta Was this translation helpful? Give feedback.
-
@Sweggle , Did above reply answer your question? |
Beta Was this translation helpful? Give feedback.
@Sweggle , when I try to use hashtable for -DatasetAggregation , even if it’s null value, it works.
Here's my script:
or