-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
JEA - Errors when attempting to Start-Service in a JEA session #14650
Comments
Purely, as an aside, how much testing is done with JEA? Are there tests performed prior to shipping a new version? If so, pointers please? If not, I am unclear how to add them, but the attached files are a good starting point (IMHO!). |
remoting working group: This needs more investigation. https://github.com/PowerShell/PowerShell/files/5855630/JEA.issue.zip |
Hello, we are also trying to use powershell functions in a JEA session via VisibleFunctions and get similar errors:
Before "select-object" was added to the VisibleFunctions section of the role capability file.
The warning led me to the following JEA issue. I hope this is related. Our system (server 2016):
Edit: |
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you. |
2 similar comments
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you. |
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you. |
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes. |
I have a JEA session setup. I attach the session configuration and role capabilities files.
Here are the files
JEA issue.zip
This configuration (attempts to) enable
Start-Service
andStop Service
cmdlets to allow starting/stopping the DNS Service.I see two specific issues:
{Start-Service -Name DNS}
, I get an error that theName
parameter is unknown. If I attempt to pipe the service name (eg{'DNS" | Start-Service}
I get no error, but the service does not start. I checked this on other services as well.Get-PSSessionCapability
also does not correctly show theStart-Service
orStop-Service
cmdlets as cmdlets. They are shown as functions. This makes sense for the DNS Server cmdlets as they are loaded via WPS Compat, but the cmdlets are, well cmdlets not functions.Steps to reproduce
Expected behavior
Actual behavior
Environment data
Name Value
PSVersion 7.1.1
PSEdition Core
GitCommitId 7.1.1
OS Microsoft Windows 10.0.20285
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0, 5.0, 5.1.10032.0, 6.0.0, 6.1.0, 6.2.0, 7.0.0, 7.1.1}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
The text was updated successfully, but these errors were encountered: