powergate:code_reference:commandlets:get-erpentitysets

Get-ERPEntitySets

Cmdlet to retrieve metadata informations about EntitySets.

Get-ERPEntitySets [[-Service] <String>]  [<CommonParameters>]

Type Name Description Optional
StringServiceRetrieve only EntitySets for this serviceyes

EntitySet[] ← on success
empty ← on error

When calling the Get-ERPSEntitySets without arguments the EntitySets of all available services are returned.

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

Getting all EntitySets

Get-ERPEntitySets

Get EntitySets from the Service:

Get-ERPEntitySets -Service "Northwind.svc"