Add Wait To Powershell Script To Set