Windows-Sandbox
Windows-Sandbox copied to clipboard
[Bug]: `Get-ComputerInfo` reports that `CsOEMStringArray` is to be filled by the OEM.
Windows Sandbox version
-
#!/usr/bin/env pwsh Get-AppxPackage MicrosoftWindows.WindowsSandbox -
Architecture : X64 Version : 0.5.3.0
Windows build number
If you refer to the Sandbox: ^1
-
Get-ComputerInfo | Select-Object -Property 'OsBuildNumber' | Format-List -
OSBuildNumber : 26100
Other software
In the sandbox, $PSVersionTable (in powershell) reports:
PSVersion: 5.1.26100.2200
Steps to reproduce the bug
In the sandbox, invoke, in powershell:
Get-ComputerInfo | Select-Object -Property CsOEMStringArray
Expected result
A placeholder message shouldn't be present for an official image. Either an explicit message stating that it is a placeholder should exist, an explicitly placeholder value should be provided (if the standard permits it), or the entrant should be $Null, and/or not returned.
Actual result
It is zeroed, with a placeholder message returned.
Included System Information
If you refer to the host: ^1
OsName : Microsoft Windows 11 Pro OsOperatingSystemSKU : 48 OsVersion : 10.0.26120 OsBuildNumber : 26120