Page 3 of 3

Re: Not stopping at ANY breakpoints Win10 (1809) PowerShell v 5.1

Posted: Sun Jul 07, 2019 10:45 pm
by FrankAndrew
Hi Alex,

Here are the details from our Client Admins how they have configured the Group Policies so that the ConstrainedLangauge Mode is enforced: (Und eben wieder nicht)

Hi,

hier die Beschreibung unserer Applocker-Umgebung.

Wir setzen über eine GPO das Module Applocker Scriptregeln ein. Dadurch werden Scripte im CLM-Mode (Constrained Language Mode) ausgeführt.

AppLocker Gruppenrichtlinien
AppLocker Gruppenrichtlinien
2019.07.05_AppLocker_GruppenRichtLinienVerwaltung.png (71.67 KiB) Viewed 38873 times

Um Powershell Entwicklern die Möglichkeit zu bieten als normaler User im FLM-Mode (Full Language Mode) zu arbeiten. Haben wir eine eigene AD-Gruppe dafür angelegt.
Und dieser AD-Gruppe über die GPO-Delegierung das „Gruppenrichtlinie übernehmen“ verweigert.

AD-Gruppe
AD-Gruppe
2019.07.05_AD-Gruppe_GPO-WIN10-Apps-Applocker-Script.png (42.22 KiB) Viewed 38873 times

hier noch die Übersicht welche Sachen im CLM nicht möglich sind.

https://devblogs.microsoft.com/powershe ... uage-mode/

Viele Grüße,
Carsten

I hope this helps you guys to be able to reproduce a ConstrainedLanguage Mode environment so that you can improve the way PSS deals with it.

If you have any more questions about what needs to be done to get this to work let me know and I will get you in contact with Carsten. :)