PowerShell cmdlets
The "Matrix42 UEM Depot Sync" package installs a set of PowerShell cmdlets which can be used to control a running UEM Depot on the depot itself. The cmdlets require PowerShell 5.1 because the Windows Communication Foundation (WCF) is used for communication and not available in PowerShell 6 or newer.
Get-SyncJobs
Gets a list of currently configured and enabled depot syncs and its current status.
Get-SyncJobs
Start-SyncJob
Starts a configured depot sync. If that depot sync is not enabled in the computer's variables, it cannot be started. Use Get-SyncJobs to see currently available depot syncs. An already running depot sync cannot be restarted, you have to stop it first or wait for it to finish.
Start-SyncJob
[-Name]
Parameters
-Name = The name of the sync job to start.
Stop-SyncJob
Stops a running depot sync. This operation works synchronously, which means that it waits for every already running transfer job to finish.
Use Get-SyncJobs to see currently running depot syncs.
Stop-SyncJob
[-Name]
Parameters
-Name = The name of the sync job to stop.