I get tired of waiting for PowerCLI to load and then typing Connect-VIServer over…and over… So I figured I’d do something about it. When I launch PowerCLI, I now get a pretty little menu that allows me to pick which vCenter server I want to connect to.
All you need to do to make this change for yourself is modify C:Program Files (x86)VMwareInfrastructurevSphere PowerCLIScriptsInitialize-PowerCLIEnvironment.ps1 to include this line:
[code]Connect-VIServer -Menu[/code]I also opted to remove the help text that displays by default (telling you how to use Connect-VIServer, Get-VM, etc).
Here’s the reference page for the cmdlet if you’re curious about what else you can do: Reference
Let me know if you can think of ways to make this even more handy, or have a different spin on the idea!