Functions And Parameters In Powershell For Loop