Month: July 2016

Microsoft Exchange Server 2007 – Configure Public Folder Permissions

The Microsoft Windows PowerShell script below may be run with the Exchange Management Shell to automate the configuration of public folder permissions in Microsoft Exchange Server 2007. Additionally, you may modify the script by manually adding a list of public folders (which is included in the EXAMPLE section) to help with further automation of configuring…


Microsoft Active Directory – Export Group Members

The Microsoft Windows PowerShell script below will the export the list of users from a Microsoft Active Directory group to a notepad (.txt) file. You may modify the script to provide a file format of your choice. <# .SYNOPSIS This script will provide the members of a Microsoft Active Directory group and export them to…


Microsoft Active Directory – Verify the Status of User Accounts

The Microsoft Windows PowerShell script below will verify the status, enabled or disabled, of Microsoft Active Directory user accounts. <# .SYNOPSIS This scrip will query a list of SAMAccountNames from a notepad (.txt) file and provide the Name and Enabled status. .DESCRIPTION This script will automate the process of querying a list of SAMAccountNames and…


Scripting – List Remote Hard Disk Space

You may use the script below to query a list of remote servers for their drive letters, drive sizes, and the amount of free space on each drive in gigabytes (GB). <# .SYNOPSIS This script will provide the drive letter, drive size and free space of a list of servers. .DESCRIPTION This script will automate…


Scripting – List Local Hard Disk Space

You may use the script below to query the drive letters, drive sizes, and the amount of free space on each drive in gigabytes (GB) for the local host. <# .SYNOPSIS This script will provide the drive letter, drive size and free space of the local server. .DESCRIPTION This script will automate the process of providing…


Dell Compellent – Verify Front and Back End Ports

You may use the Dell Enterprise Manager Data Collector Manager to configure the SMTP settings of a Dell Compellent Storage Area Network (SAN) and provide you with alerts. In addition to this you may manually verify that the front and back end ports of the storage array are Up. To do so navigate to Dell Storage > Storage…


Scripting – Dell iDRAC 8 User

You may use the script below to delete a user account from an Integrated Dell Remote Access Controller 8 (iDRAC8). I would like to acknowledge that I did not write this script and the original link may be found here. <# .SYNOPSIS Removes a DRAC user. .DESCRIPTION Removes a DRAC user. Requires Dell’s RACADM.EXE utility,…


Microsoft Windows Server 2012 R2 Core – Rename Network Interface Card

You may use the following the following command to rename a network interface card (NIC) using Windows PowerShell in Microsoft Windows Server 2012 R2 Core. In this particular example the NIC is being renamed from Ethernet0 to LAN01.   Rename-NetAdapter -Name Ethernet0 -NewName LAN01


Microsoft Windows Server 2012 R2 Core – Configure Hostname

After logging into a Microsoft Windows Server 2012 R2 Core installation you may use the following commands to configure the hostname of the server. 1. powershell 2. hostname 3. Rename-Computer HOSTNAME 4. shutdown -r -t 00


Group Policy Object – Disable Windows PowerShell

You may use a Microsoft Active Directory (AD) Group Policy Object (GPO) to restrict access to the Windows PowerShell. Below you will find the settings for this configuration. Computer Configuration > Policies > Windows Settings > Security Settings > Software Restrictions > Additional Rules Right click Additional Rules and select New Path Rule…. In the New…