Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bug: PSSession Name is not properly set when using "SSHHost" parameter set name #5951

Copy link
Copy link
@pcgeek86

Description

@pcgeek86
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core modulecmdlets in the Microsoft.PowerShell.Core module

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.