Linux PowerShell & sudo

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Daniel Krebs 11 months, 4 weeks ago.

  • Author
    Posts
  • #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
    Moderator

    Have you tried the following?

    sudo powershell update-help

You must be logged in to reply to this topic.