Skip to content

Instantly share code, notes, and snippets.

@stvkpln
Created March 20, 2019 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stvkpln/f0616b87d64e58d8b3d1246be40112d5 to your computer and use it in GitHub Desktop.
Save stvkpln/f0616b87d64e58d8b3d1246be40112d5 to your computer and use it in GitHub Desktop.
VCSA Deployment Scripts
# 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
# 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
# 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