Created
November 12, 2017 18:22
-
-
Save chaderoth/af0e9218d04544aef0d5535225c3bf61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################### | |
# Connect To Server # | |
##################### | |
Write-Host "" | |
Write-Host "Opening Connection To Server: " -ForegroundColor Green -NoNewline | |
Write-Host "$ServerInstance " -ForegroundColor Cyan -NoNewline | |
Write-Host "" | |
Connect-VIServer -Server $ServerInstance -Protocol https -Credential $ServerCreds | |
Write-Host "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment