PowerShell script template with parameters - Search