Issues running specific command in just one of my dashboards

Issues running specific command in just one of my dashboards

avatar
(anonymous user)

I’m having an issue running a command on a specific dashboard. I have two dashboards, and they both run the same function, but one of them fails. The command that fails is connect-hvserver, which is a command from the vmware powercli module. To me it seems like the dashboard is having trouble loading the module completely.

Is there a cache or something I can clear to get past this issue?

I’d appreciate any help

Product: PowerShell Universal
Version: 4.3.0


All Comments (2)

avatar

Are the dashboards running in the same environment? (Windows PS vs PS7)?

Also, it can be an order of operations problem when loading modules and their assemblies. If you can make sure the modules load in a specific order, it could alleviate the issue since one works. There is always a bit of a fight when assembly conflicts present themselves in PS.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

avatar

I am using Powershell 5.1 desktop version

I decided to take the easy route and just delete the dashboard before creating a whole new one