OD10961C: Automating Administration with Windows PowerShell
Automating Administration with Windows PowerShell®
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.
- Audience profile
- At course completion
- Course Outline
- About Microsoft Official Course On-Demand
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.
At course completion
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.
The course outline is as follows:
Module 1, “Getting started with Windows PowerShell,” introduces students to Windows PowerShell and provides anoverview of its functionality. Students will learn to open and configure Windows PowerShell for use and to run commandswithin it. They will also learn about the Windows PowerShell built-in Help system.
Module 2, “Cmdlets for administration,” makes students familiar with the cmdlets that they will use in a productionenvironment. Students can search for cmdlets each time they need to accomplish a task. However, it’s more efficient to haveat least a basic understanding of the cmdlets available for system administration. The content in this module allows studentsto improve their understanding of cmdlets, reduce their dependence on the search functionality, and predict naming patternsso that they can find cmdlets easily.
Module 3, “Working with the Windows PowerShell pipeline,” introduces the pipeline feature of Windows PowerShell.Although the pipeline feature is part of several command-line shells, such as the command prompt in the Windows operatingsystem, the pipeline feature in Windows PowerShell provides more-complex, more-flexible, and more-capable functionalitiescompared to other shells. This module provides students with the skills and knowledge to use Windows PowerShell moreeffectively and efficiently.
Module 4, “Understanding how the pipeline works,” explains how the Windows PowerShell command-line interface passesobjects from one command to another in the pipeline. Windows PowerShell can use two techniques to pass data: ByValueand ByPropertyName. By knowing how these techniques work and which one to use in a particular scenario, students canconstruct more-useful and more-complex command lines.
Module 5, “Using PSProviders and PSDrives,” introduces the PSProviders and PSDrives adapters. A PSProvider is aWindows PowerShell adapter that makes a form of storage resemble a hard drive. A PSDrive is an actual connection to aform of storage. By using these two technologies, students can work with many forms of storage by using the samecommands and techniques that they use to manage the file system.
Module 6, “Querying management information by using CIM and WMI,” introduces students to two parallel technologies:WMI and CIM. Both of these technologies provide local and remote access to a repository of management information,including access to robust information available from the operating system, computer hardware, and installed software.
Module 7, “Working with variables, arrays, and hash tables,” provides students with the skills and knowledge required to usevariables, arrays, and hash tables as one of the steps in learning how to write Windows PowerShell scripts.
Module 8, “Basic scripting,” explains how to package Windows PowerShell commands in a script. Scripts allow students toperform repetitive and complex tasks that they can’t accomplish in a single command. In addition to learning how to create,run, and modify scripts, students will also learn how to import data from a file.
Module 9, “Advanced scripting,” introduces students to more-advanced techniques that they can use in scripts. Thesetechniques includes gathering user input, reading input from files, documenting scripts with help information, and handlingerrors.
Module 10, “Administering remote computers,” introduces students to the Windows PowerShell remoting technology. Thistechnology allows students to connect to one or more remote computers and instruct them to run commands on their behalf.Students will learn how to use remoting to perform administration on remote computers, and they’ll establish and managepersistent connections to remote computers.
Module 11, “Using background jobs and scheduled jobs,” provides information about the job feature of WindowsPowerShell. Jobs are an extension point in Windows PowerShell, and many different kinds of jobs exist. The different kindsof jobs can work slightly differently, and they have different capabilities.
Module 12, “Using advanced Windows PowerShell techniques,” introduces some of the advanced techniques and features ofWindows PowerShell, including profile scripts, regular expressions, and the format operator. Many of these techniques andfeatures extend the functionality that students learn about in other modules. Some of these techniques are new to WindowsPowerShell 5.1 and provide additional capabilities.
About Microsoft Official Course On-Demand
About Microsoft Official Course On-Demand
MOC On-Demand is an integrated combination of video, text, practical tasks and knowledge tests designed to help IT experts and developers to expand their knowledge about Microsoft technologies. The courses are a great alternative for anyone wanting to learn independently and at their own pace. They can also be used in the form of a Blended Class together with managed training courses, or as the basis for training solutions with mentoring and other learning programmes.
All Labs within a course can be accessed via the Microsoft Labs Online (MLO) platform. Participants enrolled on a course can start the Labs directly from within a course; they do not need to be set up separately.
Licence codes purchased for the new Skillpipe MOC On-Demand courses can now all be found in the “Digital Library” section. The licence codes for these courses are now provided via the Management Dashboard, just like for the dMOC courses.
System requirements for Skillpipe MOC On-Demand
- current version of Internet Explorer, Microsoft Edge, Google Chrome™ or Firefox®
- broadband Internet connection (recommended: network bandwidth of over 4Mbps)
- 1280 x 1024 or higher