Force CentOS 6 to Re-Detect Network Devices

Recently, I began transitioning from VMware ESXi to Proxmox VE and ran into an unexpected issue. After imaging the VM’s running on top of ESXi and redeploying them into blank KVM VM’s, I noticed that even though the new VM’s had network interfaces they had no connectivity. After some investigation, I discovered that CentOS 6 uses udev to deal with all hardware devices; so restoring connectivity was as a quick, two-step process. Before we discuss the solution, though, let’s examine the root cause of the issue.

Continue reading “Force CentOS 6 to Re-Detect Network Devices”

Use the Test-Connection cmdlet to determine when a DNS record has propagated

For some time now I’ve wanted some sort of service that would simply alert me via Email once a specific DNS record had propagated and was reachable by at least on host on the public internet. To my knowledge, such a service doesn’t exist. I was faced with a situation this morning where such a solution would have been extremely helpful. So, I decided to sit down and break out PowerGUI Script Editor to make my dream a reality! What emerged from 20 minutes of hackery was a 13 line script that works like this:
Continue reading “Use the Test-Connection cmdlet to determine when a DNS record has propagated”

Retrieve information about Mailboxes and Mailbox Databases with PowerShell

Recently, I was faced with a situation in which I wanted to remove a Mailbox Database that was running in production. The problem was that I wasn’t sure which mailboxes resided on the database. Moreover, a quick and efficient way of finding this information wasn’t apparent in the Exchange Management Console and I wasn’t about to sort through my entire Exchange organization to find this subset of users. The answer? The Exchange Management Shell.

Continue reading “Retrieve information about Mailboxes and Mailbox Databases with PowerShell”