Totally confused

Sep 11, 2008 at 5:04 AM

I hope someone can point me in the right direction as I can’t figure out how to get this to work at all.


I have run the registry file, and run the script hyperv.ps1 and it looks like it has finished successfully, but if I type any of the functions I get something like this:


The term 'get-vm' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.

At line:1 char:7

+ get-vm <<<<


Am I doing something wrong?  I am a complete PowerShell newbie so I would not be surprised if I have missed something important, but I have been unable to figure out what it is...


BTW in case this is the cause, I am running PowerShell on Windows 2008 Server Core 64bit which I installed following these instructions:


Thanks in advance J

Sep 12, 2008 at 11:20 AM

try to call . .\hyperv.ps1 ftom the folder the zip was extraced to. notice the dot+space+dot+slash.

I short manual can also be found here

Sep 12, 2008 at 7:46 PM
Thanks it was the "..\" that was the problem it seems. I was only using ".\" before which looked exactly the same as far as output was concerned, but obviously did not have the same effects.

Much appreciated.
Oct 26, 2010 at 9:41 AM
Edited Oct 26, 2010 at 2:36 PM

Hi folks,

I do not find the file hyperv.ps1 ! So when I try to use the commands, I have the error message : "The term 'get-vm' is not recognized as the name of a cmdlet, function, script file...."

However, I can see the "HyperV.psd1" file... but cannot execute it. I am stuck on this and I need to do critical tasks, so any help would be much appreciated.

Thanks in advance !

 UPDATE : in the zip file, it seems that the file is missing, and i found it on google. ;)