-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Apparently, the last version that supported this was ver 5.1. I'm using Powershell 6 and it's not supported. Based on the link below, it appears that Powershell 7.3 is the most recent.
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-wmiobject?view=powershell-5.1
Error details:
Get-WmiObject : The term 'Get-WmiObject' 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 C:\Users\Vito\Downloads\Gigabyte-main\Gigabyte-main\GigaTest.ps1:398 char:10
- $model = Get-WmiObject win32_baseboard | Select-Object Product
-
~~~~~~~~~~~~~ - CategoryInfo : ObjectNotFound: (Get-WmiObject:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
Metadata
Metadata
Assignees
Labels
No labels