When I tried to stop the virtual machine on Azure using Powershell cmdlet Stop-AzureRMVM (new ARM one), I get the message box as shown below. Problem with this, If I run this in the batch statements, I get this message box / prompt for each statement where VM is shutdown. How do I suppress this?
Asked
Active
Viewed 3,000 times
2 Answers
6
Using the -Force switch should suppress all questions of that nature, not just for Azure-related cmdlets, but all cmdlets in general.

Rytmis
- 31,467
- 8
- 60
- 69