Hi,
The Hyper-V module for Windows PowerShell is only available since Windows Server 2012 and is not compatible with Windows Server 2008 R2.
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh846767(v=ws.11)
However, there's a third-party module pshyperv that provides a PowerShell management library for Hyper-V. You may give it a try.
https://github.com/gcbond/pshyperv
Hope this helps.
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.