Azure VM Powershell Comands

Goud Kanthi, Aniketh 1 Reputation point


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.
7,549 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,455 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,501 Reputation points

    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:

    Hope this helps you!