RosettaCodeData/Task/Knuth-shuffle/PowerShell/knuth-shuffle-1.psh

3 lines
49 B
Plaintext

$A = 1, 2, 3, 4, 5
Get-Random $A -Count $A.Count