Share via

Azure VM Powershell Comands

Goud Kanthi, Aniketh 1 Reputation point
2021-09-02T16:50:04.337+00:00

Hi,

I'm new to powershell. Can anyone help me to retrive the Azure VM metrics (CPU Utlization, RAM Utilization, Logical diskspace used) using powershell for a time period of one month.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments

1 answer

Sort by: Most helpful
  1. Limitless Technology 40,101 Reputation points
    2021-09-03T10:05:54.387+00:00

    Hello Aniketh,

    Depending on what you want to achieve it might have different versions, but I think all that you need is here, using the Get-AzMetric cmdlet:

    https://learn.microsoft.com/en-us/powershell/module/az.monitor/get-azmetric?view=azps-6.3.0

    Hope this helps you!

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.