Creating Scripts For Powershell Foreach Array Object Offset