PowerShell Hyper-V script: Hyper-V FreeBSD shutdown problem workaround

Mike notifies that he has found an workaround to Hyper-V FreeBSD shutdown problem, that uses a PowerShell Hyper-V script. It has a lot of functions already, and I added a “Kill-VM” function that automates the kill process: Kill-VM <VM name> To use it, you need to install PowerShell (Under Server Manager -> Features in Win2008).  Once installed, […]

Mike notifies that he has found an workaround to Hyper-V FreeBSD shutdown problem, that uses a PowerShell Hyper-V script. It has a lot of functions already, and I added a “Kill-VM” function that automates the kill process:

Kill-VM <VM name>

To use it, you need to install PowerShell (Under Server Manager -> Features in Win2008).  Once installed, run PowerShell from Start -> Search, find the script, and and type:

. .\hyperv.ps1

Once loaded into memory, type:

Kill-VM <VM Name>

DownloadHyper-V script

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he's engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.