Connect to Azure VM

This topic contains 2 replies, has 2 voices, and was last updated by  Madhur Bhardwaj 2 years ago.

  • Author
  • #43912

    Madhur Bhardwaj


    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.


  • #43916

    Don Jones

    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.

You must be logged in to reply to this topic.