Using PowerShell Script to Connect to Multiple Azure Subscription and Delete Services (Remove-AzureServcie Remove-AzureVnetconfig)


i looking powershell script connect multiple azure subscriptions each unique login , password , delete vnets, vms using cmdlet. think best put id , passwords in file (.txt or .xls) , have script read file subscription id , password.  

  1. remove-azureservcie (using -force suppress prompt) e.g of command remove-azureservice <cloud service dns name>-deleteall  -force
  2. remove-azurevnetconfig e.g of command remove-azurevnetconfig
  3. finally cmdlet executed remove storage accounts e.g don't have command yet

can me script can this?



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group