Library working in Powershell, but not in ISE

Sep 27, 2011 at 3:17 PM

I've installed the powershell management library for Hyper-V succesfully.
It is working in Powershell, but only in the CLI, not in the ISE environment.
I've modified the Microsoft.PowerShellISE_profile.ps1 to load the module, AND the module is loaded. (I can use get_help Get-VM etc.)

But if I run a command, like Get-VM, it's running, but it returns an empty output.
When I run the commandlet in CLI, it's working fine.

What am I missing here?
I would like to test my scripts from PowerShell_ISE.

Sep 27, 2011 at 3:52 PM

Never mind my question... I will go to a corner with donkey ears on, and shame myself.
I didn't have enough permissions!

Well maybe others can take advantage of this beginners mistake.