Powershell Advanced Function Parameters