Comments
-
You are an inspiration Kevin! Merry Xmas! I shall raise a glass of mead to you!
-
Worth checking the status of Powershell on the machine. To resolve this error and continue with your SolarWinds upgrade: * Install PowerShell Core (pwsh.exe): Download the latest version of PowerShell Core (7.x or above) from the official GitHub releases or Microsoft website. Run the installer (MSI) and follow the prompts.…
-
Hey i'm going for the aged wizard look. Surely you can't improve on that can you, like a fine wine and all that?
-
Or if you want to specify times : Notice : $maxSyncAgeHours = 2 # Import the ADSync module Import-Module ADSync -ErrorAction Stop # Get the sync status $SyncStatus = Get-ADSyncScheduler $LastSyncTime = $SyncStatus.LastSyncTime $LastSyncResult = $SyncStatus.LastSyncResult $SyncEnabled = $SyncStatus.SyncCycleEnabled…
-
Then create an alert based upon the success / warning or failure of the component.
-
After you've done this you can just drop the script monitor component into a dashboard.
-
You could try this script : This script checks the status of the last directory sync and outputs a result that SolarWinds can pick up.PowerShell Script: Check-EntraSyncStatus.ps1# Check if the AD Sync module is installed Import-Module ADSync -ErrorAction Stop # Get the sync status $SyncStatus = Get-ADSyncScheduler #…