Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Change the Import-CSV and Export-CSV file paths as needed
- $InputList = Import-CSV "C:\path\to\csv file\filename.csv"
- $InputList = $InputList | Sort-Object {Get-Random} | Export-CSV "C:\path\to\csv file\filename_randomized.csv"
Advertisement
Add Comment
Please, Sign In to add comment