Author Posts

June 19, 2016 at 7:10 pm

Hi,

I am trying to connect to azure VM using powershell from my local machine using Enter-PSSession cmdlet , but getting error .
I created this machine manually using azure portal , do I need to change some settings so that this mmachine can be accessed from any other machine using correct credentials.

Madhur

June 19, 2016 at 7:43 pm

It's be helpful to know what the error is.

And yes, there are actually a number of things you'll have to change, especially since most Azure VMs are spun up with a fairly restrictive set of Remoting settings. I'd consider reviewing "Secrets of PowerShell Remoting," (free, on our ebooks menu) to get a solid understanding of how Remoting works. It's a little more complex than just turning it on.

June 21, 2016 at 6:00 am

Thanks Jones, I'll read the book.

Madhur