LoginSignup
17
16

More than 5 years have passed since last update.

PSGetのインストールワンライナー

Last updated at Posted at 2014-09-24

PowerShellに関してだけであれば、chocolateyよりpsgetの方が便利。
PsGet - PowerShell Modules Directory - Get started

公式サイトにはインストール用のワンライナーが書いてあるけれど、

(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex

今時はこっちの方がカッコいいんじゃないかな。

iwr "http://psget.net/GetPsGet.ps1" | iex

iwrはInvoke-WebRequestのエイリアスで、PowerShell3系から入ったcurlっぽいコマンドレットです。

Invoke-WebRequest

17
16
3

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
17
16