Automate A Powershell Script Extension