Skip to content

Simple PowerShell to turn Hyper-V on and Off on Windows

Notifications You must be signed in to change notification settings

doughoke/hyper-VSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

hyper-VSwitch

Simple PowerShell to turn Hyper-V on and off on Windows

Sick of losing efficiency with Docker (runs better with Hyper-V) and Virtual Box (oil and water). Made a quick powershell that will enable or disable Hyper-V.

###Requirement Windows with Powershell (Windows 7 or 10 for example)

After execution it will require a restart.

###Examples Example for enabling Hyper-V

Powershell.exe -file C:\yourgitclone\hyper-VSwitch\PowerShellSwitch.ps1 enable -RunAsAdministrator

Example for disabling Hyper-V

Powershell.exe -file C:\yourgitclone\hyper-VSwitch\PowerShellSwitch.ps1 disable -RunAsAdministrator

Don't forget to set the execution policy of powerShell to run its magic.

Set-ExecutionPolicy Unrestricted

License

MIT

About

Simple PowerShell to turn Hyper-V on and Off on Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published