-
Notifications
You must be signed in to change notification settings - Fork 514
Extension should support running in constrained language mode #606
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
Comments
Hello, is there an established roadmap, plan for this? |
Closing this in favor of #754 |
I'm doing work now to move PSES over to a binary module to make this easier, but it looks like there are still issues because of how PSReadLine works. I'm not sure if those are the only issues, but that's the current blocker; we invoke a PSReadLine static method in PowerShell script directly for the prompt. So to enable constrained language mode, that's the next issue to solve. |
Another facet here is that we have dependencies that aren't signed:
|
@rjmholt I believe there's a way for us to sign things as "external deps" but need to do the research. |
Has there been any additional update on this? I am fairly interested in a desirable outcome from this. |
We talked offline but to capture it here as well... First comment out this line so you can actually test this: Then see where it breaks with ConstrainedLanguage mode turned on... Here is a good list to start: These are hits for |
Has anyone started working on this? I'd also love for this to work and can contribute if there is an existing branch. |
Hi @dkattan I don't think anyone is actively working on this. Are you interested in getting involved? My steps in the comment above yours are still accurate. The way I'd approach this is:
You're more than willing to drop any questions you have here. Once start up works, we can get a PR out to support this... then we can start filling in what doesn't work (like the expand alias feature, remoting feature etc) |
ConstrainedLanguage mode is now supported in the PowerShell Preview extension. |
Exciting! This should allow us to use it on admin workstations where constrained language mode is enforced. |
@nyannios what version of PowerShell are you using? The PowerShell extension only supports v5.1 and higher. |
Hey, I downloaded and installed PowerShell 7 for windows and now it's working! Thanks! I was on 4.0 |
Right now we show an error message on startup of constrained language mode is turned on via AppLocker policy. We should do the necessary work to make the extension operate at some level with this mode turned on. The PowerShell ISE supports it.
The text was updated successfully, but these errors were encountered: