A great toolkit for Hyper-V management using PowerShell. Lots of  Hyper-V functions which you can use for your virtual machine operations.

PowerShell Management Library for Hyper-V