Error 0x80240030 when running Windows Update

Recently while trying to run Windows Update on one of my Windows 2008 R2 Domain Controllers I received error 0x80240030 when either trying to install the updates it said were available or trying to check for updates. It looks like some how my Internet Explorer Proxy settings got buggered (We don’t use a proxy on … Read more

Unable to use grep to search logfiles output from Powershell scripts

I recently had to do some PowerShell work on a Windows server which outputted some log files for later review using the “Start-Transcript” function. Later I went to review the logs looking for some specific information. I transferred them to my CentOS 5 Dev system to begin analyzing them with grep. Every time I ran … Read more

Powershell script to report on total send/received e-mails in Exchange

  Update: 2017-08-16 – I have published a new version of this script here   This is a simple PowerShell script that pulls all of the send/received e-mails from the Message Tracking log in Exchange 2010 and counts the unique header IDs. It’s fairly accurate but I don’t think it’s 100% bang on. My testing … Read more

Powershell script to create reverse lookups (PTR) in Microsoft DNS

We’re switching IP spaces at work and need to create a large amount of reverse lookup PTR records for our PAT/NAT pools. Microsoft only allows you to manually create one DNS entry at a time via the GUI so I wrote a simple Powershell script that lets you mass create sequential PTR records.   #################################### … Read more