Click here to Skip to main content
15,896,348 members

Comments by Dimiter2011 (Top 2 by date)

Dimiter2011 2-Nov-21 13:43pm View    
Thanks Rob. Works like a charm.
((Get-Content .\p.txt -Raw ) -split "\s+" | Sort-Object {Get-Random} ) -join ' ' | Out-File .\pNew.txt
Dimiter2011 10-Aug-21 14:37pm View    
The loop has to include the first number, that's why is needed.