Author Posts

July 13, 2014 at 7:21 am

I downloaded the Codeplex ones but I have to reinstall the module every time I open a new PS window. Are there no native Hyper-V cmdlets in WS2K12 R2? If there is, how do you enable/load them?

July 13, 2014 at 7:27 am

You need to either have Hyper-V installed or the RSAT tools for Hyper-V installed to get access to the cmdlets.

July 13, 2014 at 7:36 am

You can also use a profile (help about_profile*) to automatically load a desired module into memory each time you open a new shell window.

That said, you *should* have modules installed in one of the paths where PowerShell looks for them. That way, you don't have to load them (it isn't "installing," it's just loading into memory). In v4, "Program Files\WindowsPowerShell\Modules" is one of the correct paths.

But, Richard is correct – you'll want to use the native ones. They only "auto load," though, because they're put into one of the correct paths. They're not special just because they're native.

July 13, 2014 at 7:43 am

Add-WindowsFeature RSAT-Hyper-V-Tools -IncludeAllSubFeature

July 13, 2014 at 6:46 pm

Thanks Rob, that worked.