Files
PowerShell-PowerShell/test
Paul Higinbotham 121578f17d Merged PR 8968: Disable Enter-PSHostProcess cmdlet when system in lock down mode
Enter-PSHostProcess on a locked down (WDAC enforced) machine allows any admin to connect to any another local hosted PowerShell process and execute commands as that user.  This amounts to privilege escalation on the policy locked down machine and something we want to prevent.

Fix is to check for system lock down and disable Enter-PSHostProcess cmdlet with an error message.
2019-07-08 18:10:14 +00:00
..
2016-01-14 17:00:06 -08:00
2019-05-14 11:11:12 -07:00
2016-03-30 23:30:26 -07:00

Testing

The tests are organized by testing language. Thus Pester tests, which are written in the PowerShell language, are in ./powershell and xUnit tests, written in C#, are in ./csharp. The sanity tests for the Full .NET build of PowerShell are in ./fullclr, and the third-party shebang test is in ./shebang.