Skip to content

Update getMachineModel to support windows11#124

Open
anhphan21 wants to merge 1 commit intotimsutton:mainfrom
anhphan21:update-windows11
Open

Update getMachineModel to support windows11#124
anhphan21 wants to merge 1 commit intotimsutton:mainfrom
anhphan21:update-windows11

Conversation

@anhphan21
Copy link

Update to get model name, since wmic is not suppported in W11

@tjone270
Copy link

That wouldn't work, as you're trying to invoke a PowerShell cmdlet as a process, which it's not. You'll need to call powershell.exe with the correct arguments to run that cmdlet and return the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants