В AdminAPI Powershell не работает команда Get-LicenseInfo:
Import-Module EMW.PSAPI
$apiURI = "https://localhost/adminapi"
Invoke-Authentication -ServiceUri $apiURI -Domain "HIDDEN" -Username "HIDDEN" -Password “HIDDEN ”| Out-Null
Get-LicenseInfo
Invoke-RestMethod : The remote server returned an error: (415) Unsupported Media Type.
At C:\Program Files\WindowsPowerShell\Modules\EMW.PSAPI\Functions\LicenseManagement.ps1:3 char:15
+ ... $result = Invoke-RestMethod -Uri "${licenseManagementUri}getlicense ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand