Restart Azure VMSS/Service Fabric Nodes

This PowerShell Workflow runbook connects to Azure Subscription and Restarts all VMSS (Virtual Machine Scalesets) in a given ResourceGroup.

 
 
 
 
 
5 Star
(2)
388 times
Add to favorites
Windows Azure
2/11/2019
E-mail Twitter del.icio.us Digg Facebook
  • -Confirm
    2 Posts | Last post February 11, 2019
    • Would be nice to see the prompt for confirmation before proceeding
    • You could do that using the -Confirm parameter as below.
      
      Restart-AzureRmVmss -ResourceGroupName $ResourceGroupName -VMScaleSetName $NodeToRestart -InstanceId $VMSSInstance -Verbose -ErrorAction Stop -Confirm