Sample Exchange

 View Only

Search for the Unified Access Gateway Master Appliance 

Dec 04, 2018 07:14 PM

Overview

  • Author: Andreano Lanusse
  • Emailalanusse@vmware.com
  • Date Created: 11/04/2018
  • Supported Platforms: Unified Access Gateway 3.4 and above

Purpose

This script search for the Master appliance in a given Unified Access Gateway Cluster, it leverage the Unified Access Gateway REST API to obtain the High Availability state of the appliance and identity the Master.

Requirements

In order to execute this script successfully you need to:

  1. Unified Access Gateway Admin credentials
  2. List of FQDN or IP address (Management NIC) for the Unified Access Gateways appliances.

How to execute the script

Execute searchUAGMaster.ps1 using the following parameters:

  • -username - Username for the admin user authorized to login into the Appliances
  • -password - Password of the given username
  • -UAGAppliancesFQDNorIP - List of Unified Access Gateways FQDN or IP address used by the Management NIC, all separated by comma

Notes:

  • 1 - The credentials that will be used to execute the script must be created in all the appliances.
  • 2 - You can mix and match FQDN and IP address on the same command line.

Example:

.\searchUAGMaster.ps1 -username admin -password 4jd9nf9fj -UAGAppliancesFQDNorIP uag1.company.com, uag2.company.com, uag3.company.com, uag4.company.com

.\searchUAGMaster.ps1 -username admin -password 4jd9nf9fj -UAGAppliancesFQDNorIP 192.168.100.11, 192.168.100.12, 192.168.100.13, 192.168.100.14

Change Log

Additional Resources


#UnifiedAccessGateway
#Apache2.0
#TechZone
#PowerShell
#UAG
#EUC

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
ps1 file
searchUAGMaster.ps1   1 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.