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.
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.