Menu Sidebar

January 2017

A chart describing CIDR subnets

Admins need to understand some basic networking concepts like CIDR. These are needed when working with AntiSpam & Archiving providers. Here is a simple chart describing the CIDR subnets.

In networks larger than a /31, one address is used for the network number, another for the broadcast address, and generally another as the default […]

Using PowerShell or PowerCLI to update VMware tools on VMs

We need to first find out what VMs need updating. Run the following command to get the list:

VMware makes it easy to update VMware tools through the console, but clicking through hundreds of VM’s takes too much time. Thankfully VMware has provided us with the Update-Tools cmdlet so we can automate this process. Here […]

Delete Files and Folders Older Than X Days

Often times admin have to creates tasks like removing log files or some other files on a regular schedule. Here is an automated way of removing files / folders older than X days. Create a Batch file or Powershell script and add it to scheduled task. Batch File:



How to instsall the Azure PowerShell Module

Well if you are working with Microsoft Azure you may need the PowerShell Modules for automation and some settings which are only available in PowerShell. With the latest releases you can install the Azure PowerShell Module in several different ways. Microsoft Web Platform Installer MSI installer in the Azure PowerShell GitHub repository PowerShell Gallery For […]

Set password never to expire for users in a particular domain (Bulk mode)

Let me start by saying that I don’t recommend doing this at all. Password Never Expires is bad security practice, but there are situations that might require it. I had a similar request on how this could be done. Setting it for multiple users:

Setting it for a single user:


Get PasswordAge for users in a particular domain

In Office365 if you have more than one domain in a subscription, there are times where you may want to get the password age for users of that domain. In my case to check which users are covered and meeting policy and get the users addressed.

The output will be similar to:

Mohammed Wasay

Dallas based Design Technologist & Hybrid Developer