• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

How to Change the Built-In Synchronization Feature in ControlUp

Posted on April 3, 2024

A user asked for steps to change the built-in synchronization feature in ControlUp. Another user provided a PowerShell script to change the sync time to every 5 minutes. The script can be run on a monitor and requires the user to input the name of the extension to be changed. Running ‘Get-EUCSyncConfig’ will provide the extension name. The final code should include ‘Set-EUCSyncConfig’.


Read the entire ‘How to Change the Built-In Synchronization Feature in ControlUp’ thread below:

Built-In Synchronization feature –> How to change the sync to a more reasonable time?

I wanted to start a thread on this so that folks can easily change the silly one hour sync time. @member Would you mind providing your steps? I saw it in a previous post, but did not understand where you’d add it.


[CmdletBinding()]

Param(

[Parameter(Mandatory=$false, HelpMessage=’ExtensionName.’)][ValidateNotNullOrEmpty()][string] $ExtensionName = "OnPrem",

[Parameter(Mandatory=$false, HelpMessage=’Job Interval.’)][ValidateNotNullOrEmpty()][string] $JobInterval = "5"

)

Function ImportCUPSModule {

Write-Output "Finding and importing ControlUp PowerShell Module"

$pathtomodule = (Get-ChildItem "C:\Program Files\Smart-X\ControlUpMonitor\*ControlUp.PowerShell.User.dll" -Recurse | Sort-Object LastWriteTime -Descending)[0]

If (Test-Path $pathtomodule){

Import-Module $pathtomodule

Write-Output "ControlUp PowerShell Module imported from $pathtomodule"

}

Else {

Write-Output "Could not find ControlUp PowerShell Module"

Exit 1

}

}

ImportCUPSModule

$AllEUCSyncConfigs = Get-EUCSyncConfig

$MYEUCSyncConfig = $AllEUCSyncConfigs | where-object {$_.ExtensionName -eq $ExtensionName}

Set-EUCSyncConfig -ObjectGuid $MYEUCSyncConfig.ExtensionObjectId -Enabled $true -Interval $jobinterval -IncludeExistingComputers $true -DeleteWhenNotAvailableMoreThan 2

Run this on the monitors to set it to 5 minutes.

If I remember right you give it the name of the extension in question.

So change OnPrem in this example to the name of the XDSite or Horizon Site.


This is run as a Trigger against one of the Monitors?


Just run it inside of powershell on a monitor after changing OnPrem to whatever your extension name is.


OK. Sounds easy enough once I determine the extension name.


And if your running Horizon CPA I think you have to do each pod by name individually.


Worked like a charm. Thank you!

For those following along, you can get the proper ExtensionName by running Get-EUCSyncConfig.

I’d REM-OUT the last line of the PS1 command (Set-EUCSyncConfig) until you are sure of the Extension name.

Continue reading and comment on the thread ‘How to Change the Built-In Synchronization Feature in ControlUp’.  Not a member? Join Here!


Categories: All Archives, ControlUp for VDI, ControlUp Scripts & Triggers
Topics: PowerShell, Scripts, Triggers

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..