Using Rest Api From Powershell Execution Log