Powershell Script Call Function Onclick