PowerShell(Windows10)
https://technet.microsoft.com/en-us/scriptcenter/default
https://github.com/guitarrapc/PowerShellUtil
http://tech.guitarrapc.com/
Version情報、Windows10はVersion5.0
必要なバージョンを指定できる
どこに記述してもいいので、先頭行がわかりやすい。
#requires -version 5.0
https://technet.microsoft.com/en-us/library/hh847834.aspx
aboutコマンド
https://technet.microsoft.com/en-us/library/hh849720.aspx
Help情報アップデート(管理者権限)
http://tech.guitarrapc.com/entry/2015/07/04/163454
https://msconfiggallery.cloudapp.net/
初回にNuGet-anycpu.exeをダウンロードするか聞かれる。
#requires -version 5.0
Find-Module #Search through modules in the Gallery with
Save-Module #SSave modules to your system from the Gallery with
Install-Module #SInstall modules from the Gallery with
Update-Module #SUpdate your modules to the latest version with
Register-PSRepository #SAdd your own custom repository with
Get-InstalledModule
#requires -version 5.0
Install-Module Pester
http://tech.guitarrapc.com/entry/2014/01/14/101056
ipconfig
Pingコマンド
#requires -version 2.0
Test-Connection -ComputerName 192.168.0.1
Pingコマンド(Port指定可)
Test-NetConnection -ComputerName 192.168.0.1 -Port RDP
Test-NetConnection -ComputerName 192.168.0.1 -Port 80
https://technet.microsoft.com/ja-jp/library/Ee176899.aspx
Measure-Command {1..1000 | %{Get-Date}}
curl