Linux PowerShell & sudo

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Daniel Krebs Daniel Krebs 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • 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
    Profile photo of Daniel Krebs
    Daniel Krebs
    Participant

    Have you tried the following?

    sudo powershell update-help

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.