added powershell version of observer