0

Powershell has profiles that you can use to load functions you've written when your shell loads up. Does PowerCLI have a similar functionality?

leeand00
  • 4,869
  • 15
  • 69
  • 110

1 Answers1

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