Do I need to elevate when using remote PowerShell

Do I need to elevate when using remote PowerShell

Q. If I'm using PowerShell to remotely manage a machine do i need to elevate permissions?

A. No. There is no concept of elevation when using WinRM via PowerShell to run commands on a remote machine. That remote session will have the remote token as fully elevated with all available permissions. If you are experiencing permissions problems then check your account has the permissions you need and try specifying an alternate credential.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish