3 ms·
wget http://bit.ly/psChocInstall vs ((new-object net.webclient).DownloadString("http://bit.ly/psChocInstall"))
by latch 15y ago
wget http://bit.ly/psChocInstall
vs
((new-object net.webclient).DownloadString("http://bit.ly/psChocInstall"))
- doty 15y agoIf you happen to have wget, sure. Windows doesn't, by default. It is far more likely that the machine will have powershell, and if it does, it has the .net frameworks. But, with wget, the line is iex (wget -qO- http://bit.ly/psChocInstall) which isn't too bad.