PowerShell Constrained Language mode
SCUR0 opened this issue · 1 comments
SCUR0 commented
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 commented
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.