Windows-Sandbox icon indicating copy to clipboard operation
Windows-Sandbox copied to clipboard

[Bug]: `Get-ComputerInfo` reports that `CsOEMStringArray` is to be filled by the OEM.

Open RokeJulianLockhart opened this issue 2 months ago • 0 comments

Windows Sandbox version

  1. #!/usr/bin/env pwsh
    Get-AppxPackage MicrosoftWindows.WindowsSandbox
    
  2. Architecture : X64
    Version      : 0.5.3.0
    

Windows build number

If you refer to the Sandbox: ^1

  1. Get-ComputerInfo | Select-Object -Property 'OsBuildNumber' | Format-List
    
  2. 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

RokeJulianLockhart avatar Oct 17 '25 23:10 RokeJulianLockhart