Skip to content

Instantly share code, notes, and snippets.

@a73xsh
Created August 3, 2017 11:35
Show Gist options
  • Save a73xsh/f61836727a8cb6b5606049072bd2a00e to your computer and use it in GitHub Desktop.
Save a73xsh/f61836727a8cb6b5606049072bd2a00e to your computer and use it in GitHub Desktop.
PowerCli_Init
if ( !(Get-Module -Name VMware.VimAutomation.Core -ErrorAction SilentlyContinue) ) {
. "C:\Program Files (x86)\VMware\Infrastructure\PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment