Category

Powershell

7 articles in this category

PowerShell Message Tracking in Exchange

2014-11-20 1 min read

Ever wanted to track some messages in Exchange ? Here is a neet trick to will help you track messages quickly. A lot more options are available, of…

PowerShell Send Email in one line command

2014-11-20 1 min read

Powerful one liner to send an email with PowerShell.  Useful in scheduled tasks to send status, or additional info. The use of environment variables is totally optional, but…

Duplicate Active Directory Group with Members from PowerShell

2014-11-04 1 min read

Fireup your PowerShell ISE, modify to your needs, and run ! Please leave comments, suggestions below ! Import-Module ActiveDirectory # Determine the base OU $Path = 'OU=Accounting,OU=-Department,OU=Office,DC=MyDomain,DC=net' #…

Get FSMO Roles in domain with Powershell

2014-11-04 1 min read

First, fire up a PowerShell windows with the Active Directory module. If you have the Admins tools installed, it should be called “Active Directory Module for Windows PowerShell”…

PowerShell – Remove all files from a folder

2014-10-10 1 min read

This script will delte everyting in the “Script” folder, sub-folder, and the “-recurse” option will prevent the prompting of confirmation. The “-exclude” option alllows you to exclude files…