This is not a question about how to deploy a UAG via Powershell. That part is easy.
Scenario: Export the ini then use the ini to deploy UAG via powershell Try it. It does not work as expected. Obviously one must modify certain items such as IP address, source, etc, but the deployed UAG does not apply a few key items such as requestTimeoutMsec and bodyReceiveTimeoutMsec, ceipEnabled and several others.
Also the certificate thumbprint is in the incorrect format in the exported ini. This caused the entire [Horizon] section to not populate after deployment. See the "=" that should be a colon ":".
proxyDestinationUrlThumbprints=sha1=yy:yy:yy:yy:yy
The UAG is not production ready after deploying via powershell. It is a broken mess.
When does VMWare plan to implement this fully?
Blog: https://powershell.house/