Open TravisEz13 opened 2 weeks ago
If the language modes are unrelated to the system lockdown mode
SystemEnforcementMode GetSystemLockdownPolicy
then I don't see why they should be returned.
Isn't this just a one-liner?
PS> [System.Management.Automation.Security.SystemPolicy]::GetSystemLockdownPolicy()
None
I would suggest it is more related to Get-ExecutionPolicy than languages.
Submitted for Working Group review
Summary of the new feature / enhancement
We should have a command which gets all the Lockdown mode information. The Lockdown Policy. The current language module and the startup language mode of the session.
Proposed technical implementation details (optional)
Here is a script which gets the information, but the actual one should be in C#, in PowerShell, so that it works when in lockdown mode.