-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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.
Description
First off, this was tested on Alpha 17 because Alpha 18 doesn't build on Arch Linux. It should still be there as the DllImport for libpsrpclient is still there in git master.
From what I understand, libpsrpclient was replaced by the psrp package, so a failure to find libpsrpclient is probably a bug.
Steps to reproduce
- Create PSSession, my tests were done with -Authentication Credssp with a target of a Windows system
- Reproduce running new-pssession in a newly built PowerShell should not cause the shell to exit #3476, but if workaround is applied, reproduce this issue
Expected behavior
Get into a session.
Actual behavior
etsn : Unable to load DLL 'libpsrpclient': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
At line:1 char:1
+ etsn windowsbox -cred (Get-Credential) -Authentication credssp
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Enter-PSSession], DllNotFoundException
+ FullyQualifiedErrorId : System.DllNotFoundException,Microsoft.PowerShell.Commands.EnterPSSessionCommand
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId Could not find file '/usr/lib/powershell/ubuntu.16.04-x64/powershell.version'.
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1 Version from pacman because $PSVersionTable isn't actually saying the version:
Version : 6.0.0.alpha.17-2
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.