
Explanation
Box 1: Enable-WindowsOptionalFeature
To Enable Windows 10 Sandbox with PowerShell,
1. Open PowerShell as Administrator.
2. Type or copy-paste the following command:
Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online
3. When prompted to restart the computer, type Y, and press Enter.
4. The change can be undone with the following command:
5. Disable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -Online Box 2: "Containers-DisposableClientVM"
https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-sandbox/windows-sandbox-overv