Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Running Azure Powershell script breaks networking - azure Iaas NSG

$
0
0

Hi

a bit of a weird one here. I created a Powershell (from one on the net) script to shut down all VM's within a Resource Group. because of limitations on the clients infrastructure we are unable to run powershell locally - so as it is from an MSDN subscription I created a workstation. I ran the script with expected results, but then went to run it to reverse (start) the VM's but I was then receiving a proxy error when running AzureRmAccount and the workstation is unable to connect to internet (whereas before it could)

I have eventually resolved the issue by moving the machine to a different Network Security Group - I can now connect to Azure from powershell

The script is doing nothing fancy - just loading an array with machines then issuing a start or stop (depending on a parameter).

This has happened on a Windows 7 and Windows 10 workstation. I will also be asking this question in an Azure forum as well

Thanks in advance




Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>