Using REST API with PowerShell