Generate RESTful scripts in PowerShell for use within WFA as custom commands