OS is Windows 10 IoT Enterprise 21H2 with all necessary updates.
Accorting this article i can get values of OverlayFlags and OverlayCommit from CSP. Scheme of CSP is here.
According this capter i can use WMI-to-CSP Bridge to cponfigure settings with CSPs.
As shown in this example i try to get parameters OverlayFlags and OverlayCommit.
I tried to run command shell with admin rights "powershell" and "PsExec.exe -i -s powershell". In both cases I have the same result. With below commands i can get list of classes but i can't see the "UnifiedWriteFilter" as shown here
$Namespace = "root\standardcimv2\embedded"
Get-CimClass -Namespace $Namespace
Then i tried to find OverlayFlags and OverlayCommit in classes there are exists with below commands, but i can't find they are.
Get-CimInstance -Namespace $Namespace -ClassName 'UWF_Filter'
Get-CimInstance -Namespace $Namespace -ClassName 'UWF_Overlay'
Get-CimInstance -Namespace $Namespace -ClassName 'UWF_OverlayConfig'
How can i use path './Vendor/MSFT' to find parameters of 'UnifiedWriteFilter' as shown here?
OK, i can get OverlayFlags from registry. Mainly question - how can i get OverlayCommit value from somewhere as value for script?