PowerShellシリーズの全15記事の要点をまとめたチートシートです。逆引き辞典としてご活用ください。
記事一覧
よく使うコマンドレット早見表
| やりたいこと | コマンドレット |
|---|---|
| ファイル一覧 | Get-ChildItem |
| ファイルコピー | Copy-Item |
| ファイル削除 | Remove-Item |
| テキスト読込 | Get-Content |
| テキスト書込 | Set-Content / Add-Content |
| プロセス一覧 | Get-Process |
| サービス操作 | Get-Service / Start-Service / Stop-Service |
| 疎通確認 | Test-Connection / Test-NetConnection |
| Web取得 | Invoke-WebRequest / Invoke-RestMethod |
| CSV読込 | Import-Csv |
| JSON変換 | ConvertFrom-Json / ConvertTo-Json |
| 文字列検索 | Select-String |
| 絞り込み | Where-Object |
| プロパティ選択 | Select-Object |
| ソート | Sort-Object |



コメント