Month: August 2016

Microsoft Windows Server 2012 R2 – Remote Server Reboot

You may use the Microsoft Windows PowerShell script below to remotely reboot a Microsoft Windows Server 2012 R2 host. <# .SYNOPSIS This script will request the hostname of a remote server then forcefully restart the server. .DESCRIPTION This script will automate the process of forcefully restarting a remote server. .EXAMPLE N/A. .AUTHOR Written by Noel…


Microsoft Windows Server 2012 R2 – Install Server Roles

You may use the script below to install the File, Print, DFS, and Windows Server Backup roles on a Microsoft Windows Server 2012 R2 operating system. <# .SYNOPSIS Install File, Print, DFS and Windows Server Backup roles and features. .DESCRIPTION Automate the install of the File, Print, DFS and Windows Server Backup roles and features….


Microsoft Windows 7 – List Installed Appilcations

You may use the Microsoft Windows PowerShell script below to query a remote Microsoft Windows 7 computer, obtain a list of all installed applications, and write the content to a file and directory of your choice. <# .SYNOPSIS This script will query a remote computer’s list of installed applications and provide the output in a…


Microsoft Exchange Server 2013 – Disable Mailbox Script

You may use the script below, in the Exchange Management Shell, to disable a Microsoft Exchange Server 2013 mailbox using the Microsoft Active Directory display name. <# .SYNOPSIS This script will disable the Microsoft Exchange Server 2013 mailbox of the specified user using their Microsoft Active Directory display name. .DESCRIPTION This script will automate the…


Microsoft Exchange Server 2007 – Query Public Folder Primary Email Addresses

You may use the script below in the Exchange Management Shell to list all public folders and their primary email address in Microsoft Exchange Server 2007. <# .SYNOPSIS Query all of the Microsoft Exchange Server 2007 public folders, provide their primary email address and write the output to a file. .DESCRIPTION Automate the output of the email…


Microsoft Exchange Server 2007 – List Email Forwarding

You may use the script below in the Exchange Management Shell to list all mailboxes that are forwarding in Microsoft Exchange Server 2007. <# .SYNOPSIS This script will provide a list of all Microsoft Exchange 2007 email addresses that are forwarding emails. .DESCRIPTION This script will automate the process of creating a list of all Microsoft…


Microsoft Exchange Server 2007 – List Email Addresses

You may use the script below in the Exchange Management Shell to list the primary email address of each mailbox in Microsoft Exchange Server 2007. <# .SYNOPSIS This script will provide a list of all Microsoft Exchange users and their primary email address then provide the results in a text file. .DESCRIPTION This script will automate…


Microsoft Exchange Server 2007 – List Public Folder Permissions

You may use the script below in the Exchange Management Shell to list public folder permissions in Microsoft Exchange Server 2007. <# .SYNOPSIS This script will list a public folder and it’s subfolders in Microsoft Exchange 2007. .DESCRIPTION This script will automate the process of listing a public folder and it’s subfolders in Microsoft Exchange…