How to generate a list of recently used distribution groups in Exchange Server

The following PowerShell commands will help you generate a list of distribution groups that have received mail in the last 30 days. The second command pulls data from the Exchange Tracking Logs which only keep 30 days worth of data by default.

Get all distribution lists:
Get-DistributionGroup | Select-Object PrimarySMTPAddress | Sort-Object PrimarySMTPAddress | Export-CSV DL-ALL.csv -notype

Get all distribution lists used over last 30 days:
Get-MessageTrackingLog -Server -EventId Expand -ResultSize Unlimited |Sort-Object RelatedRecipientAddress | Group-Object RelatedRecipientAddress |Sort-Object Name | Select-Object @{label=”PrimarySmtpAddress”;expression={$_.Name}}, Count | Export-CSV DL-Active.csv -notype

Compare preview two files and present list of inactive:
$file1 = Import-CSV -Path “DL-ALL.csv”
$file2 = Import-CSV -Path “DL-Active.csv”
Compare-Object $file1 $file2 -Property PrimarySmtpAddress -SyncWindow 500 |Sort-Object PrimarySmtpAddress | Select-Object -Property PrimarySmtpAddress |Export-Csv DL-Inactive.csv -NoType

How to: Disable Power Management and Sleep Features in Chrome OS

Chromebooks share the same power feature as any other laptop where closing the lid causes the unit goes to sleep. In some situations you may want to disable this (like if you have your Chromebook connected to an external monitor, mouse, and keyboard and don’t need/want the second display).

Before you start you will need to put your Chromebook into developer mode which will reset your device back to factory defaults. If you are unsure how to boot into developer mode check Google first or leave a comment.

Continue reading “How to: Disable Power Management and Sleep Features in Chrome OS” »

How to install a third-party SSL certificate for Subsonic 4.7

I have been using Subsonic for a couple years now and after getting sick of the SSL warnings you receive due to the default self-signed certificate I decided to purchase a third-party cert from a trusted CA.

The installation wasn’t well documented at all (for Linux anyways), so hopefully this will help anyone that is looking to do the installation themselves. In my setup I am running Ubuntu 12.04 LTS, but this should be adaptable for any Linux install with OpenSSL and ZIP installed.
Continue reading “How to install a third-party SSL certificate for Subsonic 4.7” »

How to: Set up an SMTP mail relay using Amazon Simple Email Service

Whether you need an SMTP server to relay mail for a particular application like WordPress, server monitoring software, a ticketing system, or even a copy machine Amazon has a service that is much easier to configure and use than setting up an SMTP server on a spare Windows or Linux box that you may have lying around. For a few cents a month you can use their highly reliable service to meet almost any mail relay need that you may run into.
Continue reading “How to: Set up an SMTP mail relay using Amazon Simple Email Service” »

How to: Setup and configure a Microsoft Key Management Service (KMS) Server

Microsoft offers multiple methods for activating Windows in a small to large sized business environment. While home users and businesses using retail or MAK keys activate their copies of Office and Windows directly with Microsoft (either online or by phone), businesses have the option to install the Volume Activation Management Console (VAMT) to activate from a remote system or set up a KMS host (essentially an activation server). The following guide is specifically for setting up and configuring a KMS server to allow client PCs to activate with KMS volume license keys. The major advantage of this method instead of using VAMT with MAK keys is that there is no maximum activation limit; therefore you do not need to call Microsoft when you activate 25 to 50 times to get the key re-validated. Microsoft recommends using KMS when you have at least 50 PCs in your environment and will not allow you to activate hosts until at least 25 PCs are requesting activation from your KMS server.

Continue reading “How to: Setup and configure a Microsoft Key Management Service (KMS) Server” »

How To: Boot your PC from a VHD

With the release of Windows 7, Microsoft added the ability to boot off of VHD files using the new BCD boot manager. The major advantage of this is that it allows you to create the virtual disk on an existing partition and boot directly off that file rather than having to create a new partition on your physical hard disk/SSD.

Continue reading “How To: Boot your PC from a VHD” »