Hello, the test you're performing might not validate executing PS command itself, but the software accessing the .Net buffer.
My test performed on Win 11 24H2
Visual Studio:
TotalSeconds : 0.0094327
Powershell 7 cli:
TotalSeconds : 0.050658
Hello,
we don't want to disclose the Windows system registry location. The standard way if you run in race condition is via SR ticket. Tac can help you with Powershell script (verified).
Thanks
David