画像クリックで動画が再生されます。
この章ではPowerShellについて勉強します。
パイプ
1 2 3 4 5 6 |
New-Item -ItemType Directory -Name "testdir" Set-Location -Path .\testdir\ Add-Content -Path .\aiueo.txt -Value testdesu Get-Content -Path .\aiueo.txt Get-ChildItem -Path .\aiueo.txt | Rename-Item -NewName kakukukeko.txt Get-ChildItem |
オブジェクト
1 2 3 4 |
$item=Get-ChildItem $item | Get-Member $item.name $item.GetType() |
計算
1 2 |
$count = 2 $count + 1 |