Quantcast
Channel: Randy Riness @ SPSCC aggregator
Viewing all articles
Browse latest Browse all 3015

MSDN Blogs: One Line Command to Shutdown all Running Azure VMs using PowerShell

$
0
0

After a long time, I managed one single line command to shutdown all Azure VMs in one single Subscription.

Get-AzureVM | Where { $_.Status -ne "StoppedDeallocated" } | Stop-AzureVM -Force

Namoskar!!!


Viewing all articles
Browse latest Browse all 3015

Trending Articles