Browsed by
Tag: PowerShell

QuickTip – Need to Clear DNS Cache on a Remote System?

QuickTip – Need to Clear DNS Cache on a Remote System?

I have been using PDQ Deploy in central server mode and have had an occasional issue when deploying new systems, where the name and/or IP address is changed (say from a wired to wireless network) and the PDQ deploy server still has the DNS name and IP cached. Obviously, running – IPConfig /flushdns will only clear the cache on your local system. But, the problem is that the PDQ Deploy server needs to have its DNS cache cleared. Run this…

Read More Read More

PSWindowsUpdate – Use PowerShell (and other tools) to Automate Windows Updates

PSWindowsUpdate – Use PowerShell (and other tools) to Automate Windows Updates

I was searching for a way to further automate new Windows system deployments. One thing I kept running into was Windows updating. I have refined and added automation to my process over the past several years. For Windows 10 clients, my current deployment process involves an MDT/WDS server that has a stock Windows 10 wim file. To customize the deployments, I have a collection of GPOs and PDQDeploy packages for software installation and some other GPOs for policies. I recognized…

Read More Read More

QuickTip: Azure Active Directory Connect – Re-enable Automatic Sync Schedule

QuickTip: Azure Active Directory Connect – Re-enable Automatic Sync Schedule

Sometimes performing an upgrade of Azure Active Directory Connect (AADC) will disable the automatic synchronization schedule. Don’t get caught off guard! Running the following in PowerShell can save you some grief. To verify the existing sync settings, use this cmdlet- Get-ADSyncScheduler Note that SyncCycleEnabled is showing as False. 2. To enable the sync cycle schedule, use this cmdlet- Set-ADSyncScheduler -SyncCycleEnabled $true 3. Verify that your settings have taken effect by running the original cmdlet- Get-ADSyncScheduler Now the SyncCycleEnabled setting shows…

Read More Read More