Skip to content

Virtually Caffeinated

A double-shot of knowledge

Menu
  • About Me
  • Bookmarks
  • Innovative Store

About Me

Profile
Jeremy Wheeler

I am a Solutions Architect with 30+ years in IT, specializing in cloud architecture, virtualization, and multi-cloud platforms like AWS, Azure, and Google Cloud. I’ve led enterprise projects like VMware’s Horizon Suite Sizing Estimator and have extensive experience with VMware Horizon, Citrix, Hyper-V, and programming languages like PowerShell, Python, and SQL. I run Smart AI Coach (https://smartaicoach.com/), helping individuals leverage AI for resumes, cover letters, and productivity. As a published author, VMware vExpert (2015-2020), and MIT-certified in AI, I am passionate about innovation and solving challenges.

  • Home
  • 2016
  • January
  • 21
  • Using Powershell to check ADAM replication
Omnissa Horizon View

Using Powershell to check ADAM replication

Jeremy Wheeler
January 21, 2016January 21, 2016 2 mins

Hey folks, I wanted to share a powershell script I deployed at a customers. You will find this script useful for when checking the Horizon View Broker replication status along with the Global Entitlement replication health. Typically I would establish a RDP session into each broker and execute the repadmin command on each server, this automates that process. You will need to execute this script using View PowerCLI on a Horizon View Connection server.

<#

Name: “ViewShowADAMRep.ps1”

Purpose: This script is used to view the replication status of the ADAM database on each View Connection server.

Achieved by:

– Acquiring connection server names via user input variable

– Opening a new powershell session on a connection server

– Running a repadmin based command to show replication on the local system for the View related LDAP instance

Execution Option1 (Displays results on the screen only): ./ViewShowADAMRep.ps1

Execution Option2 (Dumps results into a textfile, Output.txt): ./ViewShowADAMRep.ps1 > Output.txt

Creator: Jeremy Wheeler

Date: 01/20/2016

#>

#Create connection servers variable and fill with desired connection servers.

#Remove the hashtag and replace ‘connectionserver##’ with your View Connection server information.

$connservers = @()

#$connservers += “connectionserver#1”

#$connservers += “connectionserver#2”

#$connservers += “connectionserver#3”

#$connservers += “connectionserver#4”

#$connservers += “connectionserver#5”

#$connservers += “connectionserver#6”

#$connservers += “connectionserver#7”

Write-Host “”

Write-Host ” – Testing broker ADAM Replication…”

Write “”

Write “**************************************************”

Write “***** Now testing broker ADAM Replication *****”

Write “**************************************************”

Write “”

#Loop through connection servers

foreach ($conn in $connservers) {

#Null reused variable

$session = $null

#Create new powershell session on remote system

$session = New-PSSession -ComputerName $conn

#Runs a powershell command on the remote system

Invoke-Command -Session $session -ScriptBlock {repadmin.exe /showrepl localhost:389 ‘DC=vdi,DC=vmware,DC=int’}

}

Write-Host ” – Testing Global Entitlement ADAM Replication…”

Write-Host “”

Write “”

Write “**************************************************************”

Write “***** Now testing Global Entitlement ADAM Replication *****”

Write “**************************************************************”

Write “”

#Loop through connection servers

foreach ($conn in $connservers) {

#Null reused variable

$session = $null

#Create new powershell session on remote system

$session = New-PSSession -ComputerName $conn

#Runs a powershell command on the remote system

Invoke-Command -Session $session -ScriptBlock {repadmin.exe /showrepl localhost:22389 ‘DC=vdiglobal,DC=vmware,DC=int’}

}

Write-Host “done.”

Write-Host “”

#Removes all live powershell sessions (aka. cleanup)

Get-PSSession | Remove-PSSession

Share :
whosay

Written by  Jeremy Wheeler: Jeremy

I am a seasoned Solutions Architect with over 20 years of expertise in IT, specializing in cloud architecture, virtualization, and end-user computing solutions. My career highlights include working with top-tier technologies across multi-cloud platforms such as AWS, Azure, and Google Cloud. I have a proven track record of leading complex enterprise projects, including the development of tools like VMware’s Horizon Suite Sizing Estimator, which optimized hardware prediction accuracy for customers worldwide. With hands-on experience in virtualization technologies like VMware Horizon, Citrix, and Hyper-V, I excel in designing, deploying, and optimizing full-lifecycle solutions. My technical depth is complemented by 18 years of computer programming experience in PowerShell, Python, C++, .NET, SQL, and more. I am a published author and have contributed to industry literature, including works on desktop virtualization and user environment management. Recognized as a VMware vExpert for six consecutive years (2015-2020), I’ve also received multiple awards for excellence, such as VMware Spotlight and Our Best accolades. Currently, I leverage my knowledge to deliver innovative solutions, combining strategic insights and cutting-edge technologies like AI, as evidenced by my recent certification from MIT. Above all, I thrive on solving challenges and empowering teams to exceed customer expectations.

Post navigation

Previous: App Volumes Broker Service Deprecated
Next: Omnigraffle efficiency with searchable objects

Related Post

Cloud Pod Architecture and Cisco Nexus 1000v Bug

VMware Horizon 6 RDS- hosted apps and imprivata failover with new firmware

vIDM and Horizon Blast/Client Oddity

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categories

Recent Posts

  • Preventing Hallucination in AI: A Guide Based on Industry Standards
  • Clash of the AI Titans: Gemini 2.5 vs. ChatGPT-4o – Which Reigns Supreme?
  • VMware Explore 2025: Shaping the Future of Multi-Cloud and Edge Technologies
  • AI Trends Shaping the Future in 2025
  • Omnissa vApp and AI: Transforming Application Delivery in 2025

Archives

RSS Press Releases

Copyright VMBUCKET.COM © 2020