Using Rest Api From Powershell Execution