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

`report-a-bug.yml` appears to advise `ver` inside Sandbox, but that returns a CNF error.

Open RokeJulianLockhart opened this issue 2 months ago • 1 comments

Provide a description of requested docs changes

blob/28aa11afb39db3262125d693001078571fe84a44/.github/ISSUE_TEMPLATE/report-a-bug.yml?plain=1#L27C7-L27C23 advises invoking ver, immediately beneath a form specifying that it refers to inside Sandbox:

https://github.com/microsoft/Windows-Sandbox/blob/28aa11afb39db3262125d693001078571fe84a44/.github/ISSUE_TEMPLATE/report-a-bug.yml?plain=1#L27

However, this fails (which may relate to what issues/77#issuecomment-2818351882 describes):

placeholder : The term 'ver' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ placeholder
+ ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (placeholder:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

That is, unless you refer to the host. In which case, I can submit an MR to make that clear.

RokeJulianLockhart avatar Oct 17 '25 23:10 RokeJulianLockhart

Because Get-Command returns a CNF error for every binary in $Env:PATH that I've thus far entered, this might be a more fundamental bug with PowerShell. Inform me if the scope needs to be expanded.

RokeJulianLockhart avatar Oct 25 '25 11:10 RokeJulianLockhart