I have three subscription accounts in Azure and am using java to execute PowerShell commands for a remote app.
My PowerShell version:
Major Minor Build Revision
----- ----- ----- --------
4 0 -1 -1
I have the following issues:
- I need to be able to work simultaneously in PowerShell from java on different Azure accounts.
- The Select-AzureSubscription command sets the account as default and current. However, if I use -Default on Select-AzureSubscription it says -Default is deprecated.
- After selecting a subscription I need all commands there after to work on the selected subscription.
How should I maintain these to work simultaneously on different subscriptions?