SessionRemoteException Class
I am attempting to retrieve exceptions when the session.open() fails.
I was hoping to do something as simple as
$SessionRemoteException = $Session.Open($SessionOptions).Check()
Write-Host $SessionOpenException.Exception.Message
I am struggling. Any assistance is appreciated
John
I was hoping to do something as simple as
$SessionRemoteException = $Session.Open($SessionOptions).Check()
Write-Host $SessionOpenException.Exception.Message
I am struggling. Any assistance is appreciated
John