Closed brianbunke closed 8 years ago
Both "doors" above also return inaccurate results for Get-Command -Module Vester
I'm not sure on a quick fix unless the PowerCLI code is added to the Gallery. Otherwise, having it as a dependency makes the Gallery upload fail (can't find the module ... abort).
Would a #requires statement not work?
EDIT: That fix actually only works in PowerCLI 6.5, but that's ok.
Merged. That works for me, too. And I agree that we should continue to encourage people to use the latest version of PowerCLI. Especially since VMware officially recommends that.
So, 1cebb28 ("Move VMware module to external dependencies for PoSh Gallery") introduced an interesting problem.
When
VMware.VimAutomation.Core
was a "Required Module," I could open a console and do this:Now, after moving to an "External Module Dependency," it doesn't work:
Furthermore, Door A:
And Door B:
Any quick suggestions on how we should ideally handle this within the
.psd1
file?