Starting vSphere PowerCLI automatically loads the script configuration file located in the Scripts folder in the vSphere PowerCLI installation directory.
The default script configuration file of vSphere PowerCLI is Initialize-PowerCLIEnvironment.ps1. Loading the file provides access to vSphere PowerCLI cmdlets aliases, like Get-VC, Get-ESX, and to other configuration settings.
Initialize-PowerCLIEnvironment.ps1 is included in the installation package of vSphere PowerCLI.
If you want to load custom vSphere PowerCLI settings automatically, you can create a script configuration file named Initialize-PowerCLIEnvironment_Custom.ps1 in the Scripts folder. The application recognizes and loads the custom file after loading the default script configuration file.