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?
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.