Commandlets

All Commandlets are supporting OData Version v1, v2, v3, v4.

The cmdlets try to perform as less server requests as possible, in order to ensure high performance when communicating over the network or the internet.

Performance

When some of the services are permanently not available, you can speed up your process by disconnecting them.
Please see example Disconnect all not available services.

Connection

Connection related cmdlets.

Name

Description

Connect-ERP

Connects to a ERP-System.

Disconnect-ERP

Disconnects from a ERP-System.

Metadata

Cmdlets to read metadata from the services.

Name

Description

Get-ERPServices

Returns information about the connected services

Get-ERPEntitySets

Returns information about the available entitySets

Get-ERPEntityTypes

Returns information about the available EntityTypes.


Note

The following commandlets require a successful connection between the current application and the ERP system or powerGateServer.
For them to work properly, all the necessary ERP services (or a single CatalogService) must have been previously connected by the Connect-ERP cmdlet.

Entities

Cmdlets for reading, adding, updating and removing entities.

Name

Description

Get-ERPObject

Returns a specific entity from the ERP-System.

Get-ERPObjects

Searches for entities depending on the passed arguments.

Update-ERPObject

Updates an existing entity on the ERP-System.

Add-ERPObject

Creates a new entity and transfers it to a ERP-System.

Remove-ERPObject

Deletes a specific entity from the ERP-System.

New-ERPObject

Create a new and empty instance of the required entity from the ERP-System.

Media

Cmdlets for downloading, uploading and updating media (e.g Files…).

Name

Description

Add-ERPMedia

Uploads media (e.g Files..) to the ERP-System.

Get-ERPMedia

Downloads media (e.g Files..) from the ERP-System.

Update-ERPMedia

Updates media on the ERP-System.