How to Store Azure Credential in Azure VM?

Sorry, I missed to add the PowerShell command for deallocation.

Stop-AzureRmVM -ResourceGroupName "ResourceGroupName" -Name "VirtualMachineName" -force

The above command shutdown the VM and Deallocation all the allocated hardware.

1 Like