Add Wait To Powershell Script Block