Deploying Unified Access Gateway Appliance

The Unified Access Gateway ini file is already configured and contain all the required information to automate this deployment.

1. Launch PowerShell

Launch PowerShell by clicking the PowerShell icon from the Taskbar

2. Executing the Deployment Script

Running the script

As the scripts starts a couple questions will be asked, follow the steps below in order to provide the correct information.

  1. Enter cd 'C:\Users\Administrator\Documents\HOL\Unified Access Gateway' to navigate to the directory with the Unified Access Gateway deployment scripts.  Press ENTER.
  2. Enter .\uagdeploy.ps1 .\uag-appliance.ini VMware1! VMware1! false false no. Press ENTER.
    The first VMware1! is the root password for the Unified Access Gateway appliance.
    The second VMware1! is the admin password for the REST API management access.
    The first false is to NOT skip the validation of signature and certificate.
    The second false is to NOT skip SSL verification for the vSphere connection.
    The no is to NOT join the VMware CEIP program.

The deployment starts and you can follow the progress on the same window or on your vSphere Web Client, which we leaved open at the beginning of this module.

NOTE: To avoid password request for the certificate, remove the pfxCerts values and provide a PEM certificate, set the pemCerts and pemPrivKey for the SSLCert and SSLCertAdmin sections of the INI file.

3. Confirm the PowerShell Script Deployment Completes

Deployment finished
  1. Confirm the Unified Access Gateway deployed successfully.  The Completed successfully text will be shown in the output.
  2. Click Close.

After successfully finalized the deployment the script will automatic Power on the VM UAG-2NIC.

The Received IP address presented by the script log is a temporary IP, the final IPs for NIC one and NIC two will be assigned to the Unified Access Gateway appliance during the first start. You can return to the vSphere Web Client to validate that as described on the next step.

NOTE: Deploying the Unified Access Gateway may take a several minutes to complete.  Please be patient while the task is fully completed.

4. Validating the deployment

Validating UAG Appliance status
  1. Click the VMs and Templates view.
  2. Expand RegionA01.
  3. If you do not see the UAG-2NIC VM under RegionA01, you may need to click Refresh first.
  4. Click on UAG-2NIC.
  5. Click on View all 2 IP addresses.
  6. The IP Addresses should show:

NOTE: If the Unified Access Gateway appliance has not finalized the configuration during the initial start-up, you will receive an error message from the vSphere Web Client. If this happens, refresh the Google Chrome browser.

5. Log In to the Unified Access Gateway Administration Console

UAG Admin UI Login
  1. Click the New Tab button to open a new tab.
  2. Browse to https://uag-intranet.corp.local:9443/admin.
    NOTE: This is the hostname for the intranet facing NIC that the Unified Access Gateway was deployed on (
  3. Enter admin for the username.
  4. Enter VMware1! for the password .
    NOTE: This password was created for the admin account as part of the PowerShell script deployment.
  5. Click Login.

6. Confirm the Unified Access Gateway Administration Console Login on the Internal Network

Succesfull login

A successful login will redirect you to the following screen, where you can import settings or manually configure the Unified Access Gateway Appliance.

Click Select under Configure Manually.


Add your comment

E-Mail me when someone replies to this comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.