Fix Windows Update Cannot Search for New Updates Error 80244008

All of sudden, all Windows desktops at work started having this issue when trying to connect to WSUS server for Windows updates. On Windows 7, it states that Windows could not search for new updates Errors found: Code 80244008 On Windows 10, the error message is slightly different. There were some problems installing updates, but we’ll try again later…(0x8024401f) What’s […]

Happy SysAdmin Day 2017

Feeling lucky today…because I am a sysadmin and I have a day to be appreciated for what I do. That day is today, last Friday in every July. And it’s called System Administrator Appreciation Day, aka Sysadmin Day. Don’t be jealous, having a dedicated day to be appreciated could also mean we sysadmins get no respect the rest of the […]

Counting the Number of AD User Accounts in PowerShell

Here are some PowerShell examples that we can use to count the numbers of user accounts in Active Directory. Total number of user accounts in AD PS> (Get-ADUser -filter *).count Total number of user accounts in an OU PS> (Get-ADUser -filter * -searchbase “OU=Vancouver, OU=MyCompany, DC=Domain, DC=Local”).count Replace the SearchBase with your own OU path. Total number of enabled/disabled accounts in […]

Stack Overflow Public Database Available (2017-06)

Need a huge SQL database for your data project? Here is one for you. Nick Craver and the kind folks at Stack Overflow publish their data export periodically with your questions, answers, comments, user info, and more. It’s available as an XML data dump. Then, Brent Ozar took the data and imported into SQL Server for his teaching performance tuning needs, and generously published it […]