I get the list of commands after issuing: .\hyperv\hyperv.ps1
VM Functions added
After that, any command Get-VM for example will give the following error.
The term 'Get-VM' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try ag
At line:1 char:6
+ Get-VM <<<<
Dec 6, 2008 at 5:29 PM
Powershell requires you to put a . in front of the script name to keep the functions in memory after the script has run.
Run it as
and it will work ....
Thanks, never thought the other post with similar recomendation was related.