Voiced by Amazon Polly |
Introduction
Welcome to our DIY blog on managing Horizon Connection Servers using the powerful vdmadmin command line utility. If you’re a VMware Horizon administrator looking to streamline your management tasks, this guide is for you. We’ll walk you through various examples of using vdmadmin, along with detailed explanations.
First, let us understand what vdmadmin is in Horizon. – is a command-line tool VMware provides for managing and configuring various aspects of VMware Horizon View (now known as VMware Horizon). The utility is specifically designed to perform administrative tasks on Horizon Connection Servers.
Customized Cloud Solutions to Drive your Business Success
- Cloud Migration
- Devops
- AIML & IoT
Prerequisites
Ensure you have the necessary permissions and access to the Horizon Connection Server where you plan to execute vdmadmin commands.
Open a command prompt or terminal window to get started.
Refer the below mentioned path:
1 |
Note: By default, the path to the vdmadmin command executable file is C:\Program Files\VMware\VMware View\Server\tools\bin. Add the course to your PATH environment variable to avoid entering the way on the command line. |
Demonstration
Vdmadmin -help
Task-1. Checking the health of the Connection Server
vdmadmin -H -monitorid CBMonitor -instanceid SA-CONNSERV-01 -xml
This command provides detailed information about the specified server, including its status and any active sessions.
Task-2 To get the status of the horizon agent on Virtual Desktop / Instant Clone.
vdmadmin -A -d desktop -m ICPool3-01 -getstatus -n
Task-3 Save horizon agent logs for the machine – ICPool3-01 in zip file.
vdmadmin -A -getDCT -outfile AgentLogs.zip -d ICPool3 -m ICPool3-01
Task-4. List available reports and views.
vdmadmin -I -list -n
Task-5. Show all Machines.
vdmadmin -M
Task-6. Show Machine Information and status of specific VM.
vdmadmin -M -m ICPool3-01 -n
Task-7. Show / Get full domain configurations.
vdmadmin -N domains -list -w
Conclusion
By mastering these vdmadmin commands, you gain greater control over your Horizon Connection Servers, making it easier to manage, troubleshoot, and optimize your virtual desktop infrastructure. Hope this blog on VMware Horizon Connection Server Management with vdmadmin utility was beneficial.
Happy scripting!
Get your new hires billable within 1-60 days. Experience our Capability Development Framework today.
- Cloud Training
- Customized Training
- Experiential Learning
About CloudThat
CloudThat is a leading provider of Cloud Training and Consulting services with a global presence in India, the USA, Asia, Europe, and Africa. Specializing in AWS, Microsoft Azure, GCP, VMware, Databricks, and more, the company serves mid-market and enterprise clients, offering comprehensive expertise in Cloud Migration, Data Platforms, DevOps, IoT, AI/ML, and more.
CloudThat is recognized as a top-tier partner with AWS and Microsoft, including the prestigious ‘Think Big’ partner award from AWS and the Microsoft Superstars FY 2023 award in Asia & India. Having trained 650k+ professionals in 500+ cloud certifications and completed 300+ consulting projects globally, CloudThat is an official VMware Training Partner, AWS Advanced Consulting Partner, AWS Training Partner, AWS Migration Partner, AWS Data and Analytics Partner, AWS DevOps Competency Partner, Amazon QuickSight Service Delivery Partner, Amazon EKS Service Delivery Partner, Microsoft Gold Partner, AWS Microsoft Workload Partners, Amazon EC2 Service Delivery Partner, and many more.
To get started, go through our Consultancy page and Managed Services Package, CloudThat’s offerings.
WRITTEN BY Rahulkumar Shrimali
Click to Comment