PowerShell wrapper for REST API