Skip to content

Need to fix UX of cmdlets related to remoting endpoint configuration on unix platforms #3147

@daxian-dbw

Description

@daxian-dbw

Cmdlets related to remoting endpoint configuration, such as New-PSSessionConfigurationFile, are windows-only and not working on unix plats currently. But they are exposed on unix platforms.

If New-PSSessionConfigurationFile and other PSSessionConfiguration related cmdlets are not supposed to work on unix at all, we should not expose it on unix platforms.
If some of its features work on unix, then we need to either if/def the windows-only features or throw a friendly error message when they get used.

For example, RoleCapabilityFiles is only supported on Windows:

New-PSSessionConfigurationFile -Path .\TestConfig.pssc -RoleDefinitions @{
           Administrators = @{ RoleCapabilityFiles = "$RoleCapDirectory\NoFile.psrc" }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-LinuxOS-macOSResolution-No ActivityIssue has had no activity for 6 months or moreUsability(LEGACY) Helps filter issues that might be higher priority because they directly affect usabilityWG-RemotingPSRP issues with any transport layer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions