Created
March 20, 2019 07:14
-
-
Save stvkpln/f0616b87d64e58d8b3d1246be40112d5 to your computer and use it in GitHub Desktop.
VCSA Deployment Scripts
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
# Static variables for the deployment | |
$iso = "" | |
$json = "" | |
# Do not edit below here, just copy and paste line by line to make sure each stage works | |
Mount-DiskImage -ImagePath $iso | |
$drive = Get-DiskImage -ImagePath $iso | Get-Volume | |
$vcsa_deploy = "$($drive.DriveLetter):\vcsa-cli-installer\win32\vcsa-deploy.exe" | |
# Doing the needful | |
cls; & $vcsa_deploy install --no-esx-ssl-verify --accept-eula --acknowledge-ceip -v --verify-only $json | |
cls; & $vcsa_deploy install --no-esx-ssl-verify --accept-eula --acknowledge-ceip -v $json |
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
# Static variables for the deployment | |
$iso = "" | |
$json = "" | |
# Do not edit below here, just copy and paste line by line to make sure each stage works | |
Mount-DiskImage -ImagePath $iso | |
$drive = Get-DiskImage -ImagePath $iso | Get-Volume | |
$vcsa_deploy = "$($drive.DriveLetter):\vcsa-cli-installer\win32\vcsa-deploy.exe" | |
# Doing the needful | |
cls; & $vcsa_deploy install --accept-eula --acknowledge-ceip --verbose --no-ssl-certificate-verification --verify-template-only $json | |
cls; & $vcsa_deploy install --accept-eula --acknowledge-ceip --verbose --no-ssl-certificate-verification --precheck-only $json | |
cls; & $vcsa_deploy install --accept-eula --acknowledge-ceip --verbose --no-ssl-certificate-verification $json |
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
# Static variables for the deployment | |
$iso = "" | |
$json = "" | |
# Do not edit below here, just copy and paste line by line to make sure each stage works | |
Mount-DiskImage -ImagePath $iso | |
$drive = Get-DiskImage -ImagePath $iso | Get-Volume | |
$vcsa_deploy = "$($drive.DriveLetter):\vcsa-cli-installer\win32\vcsa-deploy.exe" | |
# Doing the needful | |
cls; & $vcsa_deploy upgrade --accept-eula --acknowledge-ceip --verbose --no-ssl-certificate-verification --verify-template-only $json | |
cls; & $vcsa_deploy upgrade --accept-eula --acknowledge-ceip --verbose --no-ssl-certificate-verification --precheck-only $json | |
cls; & $vcsa_deploy upgrade --accept-eula --acknowledge-ceip --verbose --no-ssl-certificate-verification $json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment