Reproduction Steps
PS /Users/tsulli> New-PSSession -SSHTransport -Name asdf -Port 22 -HostName x.x.x.x -UserName AdminUser -KeyFilePath /Users/tsulli/Spock.pem
Expected Result
The PSSession object has the name specified in the -Name parameter of the New-PSSession command.
Actual Result
The PSSession object does not have the name specified in the -Name parameter of the New-PSSession command.
Id Name ComputerName ComputerType State ConfigurationName Availability
-- ---- ------------ ------------ ----- ----------------- ------------
9 SSH9 x.x.x.x RemoteMachine Opened DefaultShell Available
Cheers,
Trevor Sullivan
Reproduction Steps
Expected Result
The PSSession object has the name specified in the
-Nameparameter of theNew-PSSessioncommand.Actual Result
The PSSession object does not have the name specified in the
-Nameparameter of theNew-PSSessioncommand.Cheers,
Trevor Sullivan