$ 0 0 I would like to add that the | % will only work on Powershell version 3 + Regular For Each Loops would have to be used on systems below version 3.