forget for get

覚えるために忘れる

2024-06-01から1ヶ月間の記事一覧

PowerShell入門

サンプルコード hello.ps1 Set-Variable -Name MAX_LEVEL -Value 100 -Option Constant Write-Output MAX_LEVEL; Write-Output (Get-Date).ToString("yyyy/MM/dd HH:mm:ss") #配列 [int[]]$nums=1,2,3 for ($i = 0; $i -lt 3; $i++) { Write-Output $nums[$i…