Add Wait In Powershell Script To Use Graph To Determine