powergate:code_reference:commandlets:get-erpservices

Get-ERPServices

Cmdlet to retrieve metadata informations about the services.

Get-ERPServices [-Available] [<CommonParameters>]

Type Name Description Optional
SwitchParamterAvailableRetrieves only the available servicesyes

ErpService[] ← on success
empty ← on failure

When calling the Get-ERPServices without arguments all the services are retrieved.

In the following examples we are using the public OData Services (http://services.odata.org) for demonstration purposes:

Get all services

$services = Get-ERPServices

Get all available services

$availableServices = Get-ERPServices -Available