Skip to content

Basic Usage

Import Module:

C:\> Import-Module -Name PSIGEL

Create a WebSession

C:\> $WebSession = New-UMSAPICookie -Computername igelrmserver -Credential (Get-Credential)

Call a Function - e.g. get status information from the UMS server:

C:\> Get-UMSStatus -Computername igelrmserver -WebSession $WebSession

RmGuiServerVersion : 6.3.130
BuildNumber        : 44584
ActiveMqVersion    : 5.7.0
DerbyVersion       : 10.12.1.1
ServerUuid         : f30fb3a2-37d4-4cbb-b884-4f5061d3260e
Server             : igelrmserver:8443

Remove WebSession:

C:\> $null = Remove-UMSAPICookie -Computername igelrmserver -WebSession $WebSession