Category: Microsoft Windows Server 2012

VMware vSphere 6 – Create a Template

VMware includes a great solution, templates, for consistent virtual machine deployments. A template is essentially a master image of a virtual machine that typically includes a guest operating system and applications. Using templates allows you to deploy virtual machines with a consistent configuration. Additionally, below is a step list of steps for creating a template. Install the…


Microsoft Windows Server 2012 R2 – Start a Service

You may use the Microsoft Windows PowerShell script below to start a service, remotely. <# .SYNOPSIS This script will a service on the specified server. .DESCRIPTION This script automates the process of starting a service. .EXAMPLE N/A. .AUTHOR Written by Noel Enrique Alvarez on Thursday, March 03, 2016. #> #Request the hostname of the server…


Microsoft Windows Server 2012 R2 – Verify Service Status

You may use the Microsoft Windows PowerShell script below to verify the status of the service you specify, remotely. <# .SYNOPSIS This script will provide the status of a service on the specified computer. .DESCRIPTION This script automates the process for verifying the status of a service. .EXAMPLE N/A. .AUTHOR Written by Noel Enrique Alvarez…


Microsoft Windows Server 2012 R2 – Configure Hard Disks

The Microsoft Windows PowerShell script below may be used to automate the process of configuring hard disks in Microsoft Windows Server 2012 R2. <# .SYNOPSIS This script will configure hard disks. .DESCRIPTION This script will automate the process of configuring hard disks. .EXAMPLE N/A. .AUTHOR Written by Noel Enrique Alvarez on Thursday, October 13, 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…


Telnet – Testing Network Ports

You may use the command below, in the Windows command prompt or Windows PowerShell, to verify network ports are open on a specific host in your network. The example below is verifying that port Transmission Control Protocol (TCP) port 80 is open on Internet Protocol (IP) address 192.168.1.1. Syntax: telnet <<<HOST>>> <<<PORT>>> Example: telnet 192.168.1.1…


Microsoft Windows PowerShell – Scheduling a Microsoft Windows PowerShell Script

You may use the following settings to configure a Microsoft Windows PowerShell script to run as an automated task in Task Scheduler. This is a very helpful feature for running scripts during the evening. General When running the task, use the following user account: DOMAIN\USERNAME Run whether user is logged on or not Actions Start…


Microsoft Active Directory – Export Group Membership

You may use the following Microsoft Windows PowerShell script to export the users in a Microsoft Active Directory group to a notepad (.txt) file. Additionally, please edit the out-file -filepath portion of this script to a network location of your choice. <# .SYNOPSIS This script will provide the members of a Microsoft Active Directory group…


Distributed File System – Namespace Server Removal

The following is a step by step guide to removing a Distributed File System (DFS) namespace server for a Microsoft Active Directory (AD) integrated DFS namespace. Export the DFS namespace configuration with the following command: dfsutil /root:\\domain.com\namespace /export:namespace.txt /verbose In the DFS Management console right click and delete HOSTNAME under the Namespace Servers tab for the Microsoft…