133
127

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

WindowsのPowerShellを管理者権限で起動する方法

Last updated at Posted at 2014-03-20

コマンドプロンプトからPowerShellを管理者権限で起動するには、以下の様な感じになると思います。

cmd.exe
> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "Start-Process powershell.exe -Verb runas"

PowerShellからは、以下のコマンドになります。

powershell.exe
> Start-Process powershell.exe -Verb runas

右クリック > 「管理者として実行」が嫌な方は使ってみてください。

133
127
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
133
127

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?