社内SEの話

日々起きたことの記録用

2022-11-21から1日間の記事一覧

PowerShell - Randomly swap array values

Before Code 7.0 Get-Random -Maximum -Minimum The Another example From Code 7.1 Finally, There are not many cases that occur, but since it was in another language, I tried implementing it with PowerShell. The command differs depending on th…

【PowerShell】配列の値をランダムに入れ替える

Code 7.0以前 説明 Get-Random -Maximum -Minimum 別の例 Code 7.1以降 終わりに あまり発生する事例はありませんが、他言語であったのでPowerShellで実装してみました。 PowerShellのバージョンによってコマンドが違うので、実際のバージョンを確認してくだ…