seflerZ / oneclick-gpu-pv

Enable GPU-PV without efforts.
55 stars 5 forks source link

Get-VM : Term 'Get-VM' not recognized as a cmdlet, function, executable program, or script file name.... #4

Open Marietto2008 opened 5 months ago

Marietto2008 commented 5 months ago

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

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