# Get-ERPServices Cmdlet to retrieve metadata informations about the services. ## Syntax ```{code-block} powershell :linenos: true Get-ERPServices [-Available] [] ``` ## Parameters | Type | Name | Description | Optional | |----------------|-----------|---------------------------------------|----------| | SwitchParamter | Available | Retrieves only the available services | yes | ## Return type [](/code_reference/commandlets/objects/erpservice) **\[\]** ← on success\ **empty array** ← on failure. Exception/ErrorMessage can be accessed using [\$Error](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_automatic_variables?view=powershell-5.1#error). ## Remarks When calling the Get-ERPServices without arguments all the services are retrieved. ## Examples In the following examples we are using the public OData Services () for demonstration purposes: **Get all services** ```{code-block} powershell :linenos: true $services = Get-ERPServices ``` **Get all available services** ```{code-block} powershell :linenos: true $availableServices = Get-ERPServices -Available ```