Export Session Properties

Export Session Properties

avatar

Hello,


I am trying to get then export a session properties (Session name, ILO IP address)


When i retrieve the session property via PowerShell i am not able to see ILO IP address. am I doing something wrong?


# Get the session info

$session = Get-RDMSession | Where-Object {$_.Name -eq "MyserverName"}


#Check ILO property

$session.ILO


#Get session property

Get-RDMSessionProperty -ID $session.ID -Property ILO


am I doing this wrong?


Thank you.

All Comments (2)

avatar

Hello,


What is the entry type you are trying to get the Url property?


If it is a HP Integrated Lights Out (iLO Web) entry, you can get the Url from this property.

$session.ILO.Url


If it is a Microsoft Remote Desktop (RDP) entry type, you can get the Url from this property.

$session.MetaInformation.ServerRemoteManagementUrl


Best regards,

Érica Poirier

avatar

thank you Érica


This is what i was looking for.

$session.MetaInformation.ServerRemoteManagementUrl