Add Wait In Powershell Script Extension