VMs status

Get Azure VMs status using PowerShell script

In one of the previous articles, I shared a script for gathering logs from Azure. This time I wanted to show you how get VMs status. Azure VMs status To check status of your servers you need few things: Azure Credentials Environment TenantID Subscription Resource Group Name Below you can find example for converting your password to secure string and adding it with account ID to azure credentials variable: Now, …