-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PSFramework and JEA on Windows PowerShell 5.1 #315
Comments
Hi Constantin, will do, but - this is important - don't blanket whitelist PSFramework in JEA! It appears to have issues with Cheers, |
Thank you for pointing that out, but I only need Write-PSFMessage and Set-PSFLoggingProvider because I use your logging system. |
Status Resolved? |
Heya @constantinhager , Would you mind giving the latest version a try? |
Hi @FriedrichWeinmann, Enter-PSSession : One or more errors occurred processing the module 'PSFramework' specified in the InitialSessionState
object used to create this runspace. See the ErrorRecords property for a complete list of errors. The first error was:
The term 'Import-PowerShellDataFile' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Enter-PSSession -ComputerName xx -ConfigurationName xx...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Enter-PSSession], RunspaceOpenModuleLoadException
+ FullyQualifiedErrorId : ErrorLoadingModulesOnRunspaceOpen
```powershell |
Crazy stuff - looks like more troubleshooting is necessary :( |
Hi @constantinhager, I've just made the time to do a full reproduction test and I cannot reproduce the issue. Cheers, |
Hi @FriedrichWeinmann, Cheers, |
Hm ... still having trouble following your observed issues :( 'H4sIAAAAAAAEAG2PwWoCMRRF9wX/IWRvkhFXJTPoUhAFR7qRLqaZNyYySSTvic7fN3WwFuoql3M5Nzy9/Toh+4CELoaSF6IQShSc3XwfsOSW6PwuJRoLvkHhnUkRY0fCRC/P8Zo9C30vZ0rNpZrzavLGmM6bbAfdqi25GlGG+80/9kOrekACL7IDhg6fWu5ftMuUmuF1NYrPLqfNI67rP0ZddclBm5yx4gou+CaExfOGKdKF6NgkEi1oWf/OPUa0zF/ldH+x+gbunMJSOgEAAA==' | ConvertFrom-PSFClixml |
Sent It to you. Notice: I have configured the endpoint with a RunAsAccount to get access to my domain. |
Heya, just a headsup: |
Hi,
I use your module in a JEA configuration on Windows PowerShell 5.1
It is a Server 2016.
If I use the following Code to enter a Session
I will get the following error:
My Session Configuration looks like this:
If I try to import another module but not PSFramework the Session works.
I also wrote that there is a bug with Windows PowerShell and JEA with Import-PowerShellDataFile (PowerShell/JEA#42). This error only happens if I import the PSFramework Module.
Can you please take a look at this?
Greetings
Constantin
The text was updated successfully, but these errors were encountered: