The Hyper-V Module for Windows PowerShell was introduced as part of the Windows Server 2012 OS. There is a CodePlex project under the "same" name that you might be able to port to 2008 R2.
PowerShell Management Library for Hyper-V
Let me know how that goes for you. Related blog post.