-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.The question is answered.WG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer
Description
Steps to reproduce
PS /> $pass = ConvertTo-SecureString "XXX" -AsPlainText -Force
PS /> $creds = New-Object -TypeName PSCredential -ArgumentList "xxx@FQDN", $pass
PS /> $sessionOption = New-PSSessionOption -SkipCACheck -SkipCNCheck;
PS /> $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://serv.FQDN/PowerShell/" -Authentication negotiate -Credential $creds -SessionOption $sessionOption
Expected behavior
Obtained usable session handle - this works fine from Windows Host
Actual behavior
New-PSSession: [serv.FQDN] Connecting to remote server serv.FQDN failed with the following error message : MI_RESULT_INVALID_PARAMETER For more information, see the about_Remote_Troubleshooting Help topic.
Environment data
mcr.microsoft.com/powershell:7.1.0-preview.1-centos-7
PS /> $PSVersionTable
Name Value
---- -----
PSVersion 7.1.0-preview.1
PSEdition Core
GitCommitId 7.1.0-preview.1
OS Linux 4.14.111-boot2docker #1 SMP Fri Apr 5 23:05:10 UTC 2019
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Using ComputerName instead of ConnectionUri works, but in that way, Exchange commands are not recognized.
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.The question is answered.WG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer