Posted
over 1 year ago
Ever wondered how far a long running Powershell script has come? I use this piece of code in pretty much all my scripts to keep track, very useful if you process large amounts of data: 1: $i = 1
2:
3: foreach ($item in $collection...