Skip to content
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

PowerShell Constrained Language mode #364

Open
SCUR0 opened this issue Jan 6, 2022 · 1 comment
Open

PowerShell Constrained Language mode #364

SCUR0 opened this issue Jan 6, 2022 · 1 comment

Comments

@SCUR0
Copy link

SCUR0 commented Jan 6, 2022

I've been implementing Applocker for my organization.
This causes powershell to start running in constrained language mode.
I noticed when running Import-Module PSGSuite I get the following error:

Import-Module : This module uses the dot-source operator while exporting functions using wildcard characters, and this
is disallowed when the system is under application verification enforcement.

Is there any plans to make PSGsuite compliant?

@FISHMANPET
Copy link
Collaborator

Looking at the requirements for Constrained Language mode, I'm not sure it would be possible to make PSGSuite compliant. The core concept of PSGSuite is a wrapper around the .Net libraries that Google provides for their APIs. The inability to use arbitrary .Net types or use Add-Type mean the very foundation of the module is rendered inoperable, and such it wouldn't be possible to actually make the module compliant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants