How to fetch the Cost/Month for the VMSize using AZ Powershell? #14193
-
I need to fetch the Cost/Month for the VMSize using AZ Powershell. In the Azure Portal, We can get all the details of Cost/Month,IOPS,vCPU,RAM,etc... when we select the VMSize. The Cost is not coming out. Any AZ Powershell cmdlet which can provide me the Cost/Month for the VMSize based on location? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@AviKrish , you can try below cmdlet from Az.CostManagement to get cost on resource group level.
Install Az.CostManagement via |
Beta Was this translation helpful? Give feedback.
@AviKrish , you can try below cmdlet from Az.CostManagement to get cost on resource group level.
Install Az.CostManagement via
Install-Module Az.CostManagement -Repository PSGallery