Release date: May 12th 2019
Welcome to my VMware Unified Access Gateway series. This topic will cover the deploying of VMware UAG with Powershell.
Prior to deployment I need to download and install VMware OVF Tool on a server/workstation with access to the vCenter. This can be downloaded from: https://www.vmware.com/support/developer/ovf/
I will be using the powershell scripts I downloaded with the OVA file and the view-uag01.ini-file I created during preparations. Although I planned for a three-nic setup, I will be deploying a two-nic setup, due to the fact that I don’t have a separate management network in my lab.
Before I start deployment in powershell I set ExecutionPolicy to unrestricted:
Set-ExecutionPolicy Unrestricted
To start the deployment I run this command:
.\uagdeploy.ps1 .\view-uag01.ini PASSWORD PASSWORD false false no

Once the UAG is deployed, I power it up and verify the IP-addresses.
I have exported my ini-file to pdf and attached here: view-uag01_ini.pdf
Now that the appliance is deployed and looking good, I can configure the UAG-settings, covered here: VMware Unified Access Gateway – Configuration
VMware Unified Access Gateway Documentation
Disclaimer: Every tips/tricks/posting I have published here, is tried and tested in different it-solutions. It is not guaranteed to work everywhere, but is meant as a tip for other users out there. Remember, Google is your friend and don’t be afraid to steal with pride! Feel free to comment below as needed.