Linux PowerShell & sudo

Welcome Forums General PowerShell Q&A Linux PowerShell & sudo

This topic contains 1 reply, has 2 voices, and was last updated by

2 years, 8 months ago.

  • Author
  • #51568

    Topics: 1
    Replies: 0
    Points: 1
    Rank: Member

    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

    Topics: 2
    Replies: 525
    Points: 24
    Team Member
    Rank: Member

    Have you tried the following?

    sudo powershell update-help

The topic ‘Linux PowerShell & sudo’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort