This Graphical PowerShell runbook gets the PowerState status of a V2 VM. The runbook returns either 'running' or 'stopped'. You can run this runbook by itself or use it as part of another runbook.
DESCRIPTION
This Graphical PowerShell runbook gets the PowerState status of a V2 VM. The runbook returns either ‘running’ or ‘stopped’. You can run this runbook by itself or use it as part of another runbook.
REQUIRED
OPTIONAL
NOTES
AUTHOR
Azure Automation Team
LAST EDIT
2023-08-28
TechNet gallery is retiring! This script was migrated from TechNet script center to GitHub by Microsoft Azure Automation product group. All the Script Center fields like Rating, RatingCount and DownloadCount have been carried over to Github as-is for the migrated scripts only. Note : The Script Center fields will not be applicable for the new repositories created in Github & hence those fields will not show up for new Github repositories.