
Module 10
Automating Windows
Server® 2008 R2
Administration

Module Overview
•List the modules included with Windows Server 2008 R2
•Add and remove Windows features from the command-line
•Manage Group Policy objects from the command-line
•Use Troubleshooting Packs from the command-line
•Run and review Best Practices Analyzer reports from the
command-line
•Manage IIS features and configuration from the command-line

Lesson 1: Windows Server 2008 Modules Overview
•List and describe the modules provided with Windows Server 2008
R2
•Import Windows Server 2008 R2 modules into the shell
•List the cmdlets and functions included in a given module

Modules Overview
•Windows Server 2008 R2’s modules are installed into the
PowerShell systemwide module folder. View the contents of this
folder with:
•PowerShell defines an environment variable with the search paths
for locating modules. View the contents of this environment
variable with:
•Generate a list of installed modules with:
•Generate a list of installed snap-ins with:
Cd $pshome\modules
Cd $pshome\modules
Get-Content env:psmodulepath
Get-Content env:psmodulepath
Get-Module -list
Get-Module -list
Get-PSSnapin –registered
Get-PSSnapin –registered

Included Modules
•The following modules and snapins are included with Windows
Server 2008 R2:
Active Directory Domain Services (AD DS)
Active Directory Rights Management Services (AD RMS)
AppLocker (Application ID Policy Management)
Best Practices Analyzer
Background Intelligent Transfer Service (BITS)
Group Policy and Group Policy objects (GPOs)
Network Load Balancing
Windows PowerShell Diagnostics (PSDiagnostics)
Remote Desktop Services
Server Manager
Server Migration
Troubleshooting Packs
Web Administration (Internet Information Services)
Web Services for Management (WS-MAN)
Windows Cluster Service (Failover Clusters)
Windows Server Backup