Linux PowerShell & sudo

This topic contains 1 reply, has 2 voices, and was last updated by  Daniel Krebs 1 year, 9 months ago.

  • Author
  • #51568

    Is there any way to run cmdlets with sudo? Sudo works for programs (so, 'sudo whoami' returns root), but something like sudo Update-Help returns 'sudo: Update-Help: command not found'.

  • #51572

    Daniel Krebs

    Have you tried the following?

    sudo powershell update-help

You must be logged in to reply to this topic.