Powershell has profiles that you can use to load functions you've written when your shell loads up. Does PowerCLI have a similar functionality?
Asked
Active
Viewed 26 times
1 Answers
0
PowerCLI is nothing less than a powershell console that is started with a ps1 script which initializes the Powershell VMWare Commandlets.
So i would say you could do anything with this powerCLI that you can do with the powerShell. You could even add lines into the loaded ps1 file - which on my Server is located at %ProgramFiles(x86)\VMware\Infrastructure\vSphere PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1
.

Tobias
- 1,236
- 1
- 13
- 25