Get-VM : Term 'Get-VM' not recognized as a cmdlet, function, executable program, or script file name.
Check the spelling of the name or verify that the path is included and correct, then try again.
In C:\Users\marietto\Downloads\oneclick-gpu-pv-main\oneclick-gpu-pv-main\win-gpu-pv.ps1:13 car:13
$vmobject = Get-VM | Out-GridView -Title "Select VM to setup GPU-P" - ...
Hello.
I tried to run your script on my Windows 11 system. I ran powershell and then :
PS C:\Users\marietto\Downloads\oneclick-gpu-pv-main\oneclick-gpu-pv-main> Set-ExecutionPolicy Unrestricted
PS C:\Users\marietto\Downloads\oneclick-gpu-pv-main\oneclick-gpu-pv-main> .\win-gpu-pv.ps1
Get-VM : Term 'Get-VM' not recognized as a cmdlet, function, executable program, or script file name. Check the spelling of the name or verify that the path is included and correct, then try again.
In C:\Users\marietto\Downloads\oneclick-gpu-pv-main\oneclick-gpu-pv-main\win-gpu-pv.ps1:13 car:13