Every once in awhile something happens that affects the time on the DC, which can have any number of spillover effects to other servers, RODCs, client workstations, even network equipment.This is the PowerShell script that I use to quickly resolve the issue. Note that it does need to be run in an elevated session.
Category: PowerShell
Oct 20
PowerShell Inconsistency Frustrations
This will be updated over time as a location to note the various inconsistencies present in Windows PowerShell Remove-ADComputer the -Confirm switch is not a space $false but rather a :$false Remove-ADComputer -Identity “computername” -Confirm:$false
Jan 18
Powershell – Add-VpnConnection errors in Windows 10 Version 1909
This document is straight up for sysadmins and PowerShell junkies (and Microsoft, assuming anyone from stumbles across this). Beginning somewhere around Windows 10, Version 1909 (18363.1256), an error appeared making long standing PowerShell scripts suddenly begin to fail. The Commmand Add-VpnConnection -Name ($ikename=Read-Host “VPN Name”) -ServerAddress ($fqdnval=Read-Host “fqdn”) -TunnelType Ikev2 -EncryptionLevel Maximum -AuthenticationMethod EAP -RememberCredential …