Open menu

10961: Automating Administration With Windows PowerShell

Audience

This course is intended for IT Professionals who are already experienced in general Windows Server and Windows Client administration, and who want to learn more about using Windows PowerShell for administration. No prior experience with any version of Windows PowerShell, or any scripting language, is assumed. This course is also suitable for IT Professionals already experienced in server administration, including Exchange Server, SharePoint Server, SQL Server, System Center, and others.

Prerequisites

  • Experience with Windows networking technologies and implementation.
  • Experience with Windows Server administration, maintenance, and troubleshooting.
  • Experience with Windows Client administration, maintenance, and troubleshooting.
  • Students who attend this training can meet the prerequisites by obtaining equivalent knowledge and skills through practical experience as a Windows system administrator. No prerequisite courses are required.

Duration

5 days. Hands on.

Course Objectives

This course provides students with the fundamental knowledge and skills to use Windows PowerShell for administering and automating administration of Windows servers. This course provides students the skills to identify and build the command they require to perform a specific task. In addition, students learn how to build scripts to accomplish advanced tasks such as automating repetitive tasks and generating reports. This course provides prerequisite skills supporting a broad range of Microsoft products, including Windows Server, Windows Client, Microsoft Exchange Server, Microsoft SharePoint Server, Microsoft SQL Server, System Center, and more. In keeping with that goal, this course will not focus on any one of those products, although Windows Server, which is the common platform for all of those products, will serve as the example for the techniques this course teaches.

After completing this course, students will be able to:

  • Describe the functionality of Windows PowerShell and use it to run and find basic commands.
  • Identify and run cmdlets for server administration.
  • Work with Windows PowerShell pipeline.
  • Describe the techniques Windows PowerShell pipeline uses.
  • Use PSProviders and PSDrives to work with other forms of storage.
  • Query system information by using WMI and CIM.
  • Work with variables, arrays, and hash tables.
  • Write basic scripts in Windows PowerShell.
  • Write advanced scripts in Windows PowerShell.
  • Administer remote computers.
  • Use background jobs and scheduled jobs.
  • Use advanced Windows PowerShell techniques.

Course Content

Module 1: Getting started with Windows PowerShell
Overview and background of Windows PowerShell
Understanding command syntax
Finding commands
Lab : Configuring Windows PowerShell
Lab : Finding and running basic commands
After completing this module, students will be able to:
• Open and configure Windows PowerShell.
• Find and run Windows PowerShell commands.
• Run commands by using the correct command and parameter syntax.

Module 2: Cmdlets for administration
Active Directory administration cmdlets
Network configuration cmdlets
Other server administration cmdlets
Lab : Windows Administration
After completing this module, students will be able to:
• Identify and use cmdlets for Active Directory administration.
• Identify and use cmdlets for network configuration.
• Identify and use cmdlets for other server administration tasks.

Module 3: Working with the Windows PowerShell pipeline
Understanding the pipeline
Selecting, sorting, and measuring objects
Filtering objects out of the pipeline
Enumerating objects in the pipeline
Sending pipeline data as output
Lab : Using the pipeline
Lab : Filtering objects
Lab : Enumerating objects
Lab : Sending output to a file
After completing this module, students will be able to:
• Describe the purpose of the Windows PowerShell pipeline.
• Select, sort, and measure objects in the pipeline.
• Filter objects out of the pipeline.
• Enumerate objects in the pipeline.
• Send output consisting of pipeline data.

Module 4: Understanding how the pipeline works
Passing the pipeline data
Advanced considerations for pipeline data
Lab : Working with pipeline parameter binding
After completing this module, students will be able to:
• Pass data by using the ByValue technique.
• Describe the advanced techniques for passing pipeline data.

Module 5: Using PSProviders and PSDrives
Using PSProviders
Using PSDrives
Lab : Using PSProviders and PSDrives
After completing this module, students will be able to:
• Use PSProviders.
• Use PSDrives.

Module 6: Querying system information by using WMI and CIM
Understanding WMI and CIM
Querying data by using WMI and CIM
Making changes with WMI/CIM
Lab : Working with WMI and CIM
After completing this module, students will be able to:
• Explain the differences between Common Information Model (CIM) and Windows Management Instrumentation (WMI).
• Query management information by using CIM and WMI.
• Invoke methods by using CIM and WMI.

Module 7: Working with variables, arrays, and hash tables
Using variables.
Manipulating variables.
Manipulating arrays and hash tables.
Lab : Working with variables
After completing this module, students will be able to:
• Assign a value to variables.
• Describe how to manipulate variables.
• Describe how to manipulate arrays and hash tables.

Module 8: Basic scripting
Introduction to scripting
Scripting constructs
Importing data from files
Lab : Basic scripting
After completing this module, students will be able to:
• Run a Windows PowerShell script.
• Use Windows PowerShell scripting constructs.
• Import data from a file.

Module 9: Advanced scripting
Accepting user input
Overview of script documentation
Troubleshooting and error handling
Functions and modules
Lab : Accepting data from users
Lab : Implementing functions and modules
After completing this module, students will be able to:
• Accept user input for a script.
• Explain script documentation.
• Implement error handling for a script.
• Explain functions and modules.

Module 10: Administering Remote Computers
Using basic Windows PowerShell remoting
Using advanced Windows PowerShell remoting techniques
Using PSSessions
Lab : Using basic remoting
Lab : Using PSSessions
After completing this module, students will be able to:
• Describe remoting architecture and security.
• Use advanced remoting techniques.
• Create and manage persistent remoting sessions.

Module 11: Using background jobs and scheduled jobs
Using background jobs
Using scheduled jobs
Lab : Using background jobs and scheduled jobs
After completing this module, students will be able to:
• Create and manage background jobs.
• Create and manage scheduled jobs.

Module 12: Using advanced Windows PowerShell techniques
Creating profile scripts
Using advanced techniques
Lab : Practicing advanced techniques
Lab : Practicing script development (optional)
After completing this module, students will be able to:
• Create and manage profile scripts.
• Use advanced techniques to work with data.

Verhoef Training Ltd.

11 Kingsmead Square
Bath, BA1 2AB
United Kingdom

Tel: +44(0)1225 339705

Email: info@verhoef-training.co.uk

Become a Trainer

Ever thought about using your skills to help others?

Call us to find out about how you can teach for Verhoef.

Tel: +44(0)1225 339705