When you run the command
1 |
Get-ADSyncScheduler |
You get an output similar to
AllowedSyncCycleInterval : 00:30:00
CurrentlyEffectiveSyncCycleInterval : 01:00:00
CustomizedSyncCycleInterval : 01:00:00
NextSyncCyclePolicyType : Delta
NextSyncCycleStartTimeInUTC : 18/05/2017 10:55:42 PM
PurgeRunHistoryInterval : 7.00:00:00
SyncCycleEnabled : True
MaintenanceEnabled : True
StagingModeEnabled : False
SchedulerSuspended : False
SyncCycleInProgress : False
You will notice that the time is in UTC..
Quick one-liner can show you local time
1 |
(Get-ADSyncScheduler).NextSyncCycleStartTimeInUTC.ToLocalTime() |
Output is more sane
Friday, 19 May 2017 8:55:42 AM
0 Comments