vRA 7 and above prepare_vra_template.ps1

Powershell script designed to deploy the needed agents on your windows template. This mimics the prepare_vra_template.sh file for linux and will deploy java, bootstrap and gugent agents from the vRA appliance. 

This updated code works on 7.0, 7.0.1, and 7.1 with Windows server 2008 R2 and Windows server 2012 R2 (64 bit only)


Sign in to be able to add comments.

Comments 1


7962531583 5 years ago
for vRA7.3 add the following after line 196:
elseif ( $Version -eq "7.3" )
{
$msg = "Setting files for $Version";$BackgroundColor = "Black";$ForegroundColor = "Green";Write-Feedback
$bootstrapFile="https://" + $vRAurl + "/software/download/vmware-vra-software-agent-bootstrap-windows_7.3.0.0.zip"
$agentFile="https://" + $vRAurl + "/software/download/GuestAgentInstaller_x64.exe"
$javaFile="https://" + $vRAurl + "/software/download/jre-1.8.0_121-win64.zip"
}