VMware

3 Mins Read

Remarkable Ways of Managing Horizon Connection Servers with “vdmadmin” Utility

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
Know More

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:

vdmadmin utility: step-1

vdmadmin utility: step-2

 

 

Demonstration

Vdmadmin -help

vdmadmin utility: step-3

vdmadmin utility: step-4
Task-1. Checking the health of the Connection Server

vdmadmin -H -monitorid CBMonitor -instanceid SA-CONNSERV-01 -xml

vdmadmin utility: step-5

vdmadmin utility: step-6

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
Read More

About CloudThat

CloudThat is an award-winning company and the first in India to offer cloud training and consulting services worldwide. As a Microsoft Solutions Partner, AWS Advanced Tier Training Partner, and Google Cloud Platform Partner, CloudThat has empowered over 850,000 professionals through 600+ cloud certifications winning global recognition for its training excellence including 20 MCT Trainers in Microsoft’s Global Top 100 and an impressive 12 awards in the last 8 years. CloudThat specializes in Cloud Migration, Data Platforms, DevOps, IoT, and cutting-edge technologies like Gen AI & AI/ML. It has delivered over 500 consulting projects for 250+ organizations in 30+ countries as it continues to empower professionals and enterprises to thrive in the digital-first world.

WRITTEN BY Rahulkumar Mehta

Share

Comments

    Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!