Menu Sidebar


List all SPNs in Active Directory

Ran into a situation where I needed to get all the SPNs that are listed in AD. Find duplicate SPNs Listing duplicate SPNs is fairly easy, just use setspn -X on your command-line and you’ll find out. What is a SPN? An SPN or Service Principal Name is a unique identity for a service, mapped with a specific account (mostly […]

Get All DCs in the Entire Forest

Getting a know a new environment for a new client and I a quickly needed information about all domain controllers in the entire forest. Wrote a small little script to provide me all the information I needed:


12 dig Command Examples for DNS

dig can we very useful in finding out DNS related issues. To install dig for Window/ Linux/ MacOSX click here. A basic dig command – dig a domain nameIn the most basic of dig commands, you have a domain name like, and you want to find information about it, so you issue the following […]

Deleting all files and subfolders

Today, I was asked a very basic question and I was surprised many didn’t know what command to use. How do you delete a folder, its sub-folders and files. To all the newbies out there.

Using system help:


Make yourself Owner of All Distribution Groups

There are a number of reasons why you may want to make your self an owner of all distribution groups in Office 365. One is that you are an IT Administrator of the organisation in question and wish to moderate the distribution groups in the Exchange Online GUI/PowerShell without running in to permission problems. First […]

Grant & Revoke Access to Mailboxes

There may be times where you may need to grant an IT administrator or other employees access to another user’s mailbox. Below I will demonstrate how to: Grant an Admin access to a single mailbox Grant an Admin access to all mailboxes Revoke the above permissions (recommended cause of action after the Administrator has finished […]

Mohammed Wasay

Dallas based Design Technologist & Hybrid Developer