IMI uses HTTP Basic Authentication with a username-password combination. IMI Cmdlets wrap authentication in the Get-IgelRMServerLogin cmdlet.

Get-IgelRMServerLogin logs in to IMI.

Parameters

  • -Servername
    Hostname of the of the UMS server with IMI
  • -Username
    UMS user name
  • -ForceIMIVersion
    Use a specific IMI version, v1 or v2.
  • -IgnoreUntrustedCertificates
    If this is set to $true the Cmdlets will ignore errors in TLS/SSL certificate validation.

The password is entered interactively.

Example Command Line

Log in and save the credentials for the session in $l:

$l = Get-IgelRMServerLogin `

-Servername localhost `

-Username SPIELWIESE `

-IgnoreUntrustedCertificates $true `

-ForceIMIVersion v2
POWERSHELL


Supply the credentials to subsequent commands using

-Credentials $l