Course Description
Learn how with Windows PowerShell 3.0, you can remotely manage single or multiple Windows-based servers and automate day-to-day management and administration tasks. This five day course provides students with the fundamental knowledge and skills to use Windows PowerShell 3.0 for administering and automating administration of Windows based servers. It focuses on primary Windows PowerShell command-line features and techniques, and will provide prerequisite skills supporting many different Microsoft products. This includes Windows Server, Windows Client, Exchange Server, SharePoint Server, 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) will serve as the example for the techniques being taught.In this five day course you will learn to execute and monitor scripts more efficiently through more robust session connectivity, workflow capabilities, improved job scheduling, and Windows PowerShell Web Access. Learn Windows PowerShell with greater ease through improved cmdlet discovery and simplified, consistent syntax across all cmdlets. Write Windows PowerShell scripts quicker and more intuitively through the new Integrated Scripting Environment (ISE) that enables script sharing, which connects IT pros to a larger Windows PowerShell user community. Learn all this and more in this five-day Microsoft Official Course in Windows PowerShell v3.0Audience ProfileThis course is intended for IT Professionals already experienced in general Windows Server and Windows Client administration or already experienced in administering and supporting Application servers and services including Exchange, SharePoint, SQL etc It is broadly intended for students who want to use Windows PowerShell to automate administrative tasks from the command line, using any Microsoft or independent software vendor (ISV) product that supports Windows PowerShell manageability.This course is not intended to be a scripting or programming course, and includes only basic coverage of scripting and programming topics. Students are not expected to have prior scripting or programming experience, and are not expected to have prior Windows PowerShell experienceAt Course CompletionAfter completing this course, students will be able to:
Understand the basic concepts behind Windows PowerShell Work with the Pipeline Understand How the Pipeline Works Use PSProviders and PSDrives Format Output Use WMI and CIM Prepare for Scripting Moving From a Command to a Script to a Module Administer Remote Computers Put the various Windows PowerShell components together Use Background Jobs and Scheduled Jobs Use Advanced PowerShell Techniques and Profiles Agenda
PrerequisitesBefore attending this course, students must have:
Previous Windows Server and Windows Client management knowledge and hands on experience. Experience Installing and Configuring Windows Server into existing enterprise environments, or as standalone installations. Knowledge and experience of network adapter configuration, basic Active Directory user administration, and basic disk configuration. Knowledge and hands on experience specifically with Windows Server 2012 and Windows 8 would be of benefit but is not essential. Course OutlineModule 1: Getting Started with Windows PowerShellIn this module students will learn a bit about PowerShell’s purpose and history, and will learn the basics of using the shell, including the help system, command syntax, command discovery and more.Lessons Overview and BackgroundFinding and Running CommandsLab: Configuring Windows PowerShellConfigure the console applicationConfigure the ISE ApplicationLab: Finding and Running Basic CommandsFinding and Running Basic commandsAfter completing this module, students will be able to:Understand Windows PowerShell basic concepts Find and Run basic Windows PowerShell commandsModule 2: Working with the PipelineIn this module students will learn to use PowerShell’s pipeline, along with a number of new commands, to start retrieving, manipulating, and displaying data. An emphasis is placed on proper syntax and form.Lessons Working with the PipelineExporting, Importing and Converting DataFiltering Objects Out of the PipelineEnumerating Objects in the PipelineLab: Working with the PipelineRetrieve data, manipulate objects and customise the final displayLab: Exporting, Importing and Converting DataImport, Export and convert data within Windows PowerShellLab: Filtering Objects Out of the PipelineFilter Objects Out of the PipelineExamine Several Commands and Predict Their OutputLab: Enumerate Objects in the PipelineEnumerate Objects in the Pipeline and perform specific tasks>>>After completing this module, students will be able to:Work with the PipelineExport, Import and Convert dataFilter Objects out of the PipelineEnumerate Objects in the PipelineModule 3: Understanding How the Pipeline WorksIn this module students will learn the underlying details of how commands are passed from one command to another in the pipeline. Having seen it in action, they’ll now get to see some of the theory under the hood. The emphasis will be in the ByValue and ByPropertyName techniques, with demonstrations that illustrate effective uses of each. Students will also learn techniques that can be used in lieu of pipeline binding, for when such binding is unavailable or ineffective.Lessons Passing Data in the Pipeline ByValuePassing Data in the Pipeline ByPropertyNameLab: Working with Pipeline Parameter BindingExamine Several Commands and Predict Whether or Not They Will Work as WrittenConstruct new Commands that Utilize Pipeline Parameter BindingAfter completing this module, students will be able to:Pass Data in the Pipeline ByValue Pass Data in the Pipeline ByPropertyName
Module 4: Using PSProviders and PSDrivesIn this module students will learn about PSProviders and PSDrives, and learn to use –Item* commands to manipulate items within a PSDrive.Lessons Understanding PSProviders and PSDrivesUsing PSDrivesLab: PSProviders and PSDrivesUsing PSProviders and PSDrivesAfter completing this module, students will be able to:Use PSProviders and PSDrivesModule 5: Formatting OutputIn this module students will learn to manipulate command output to create customized on-screen, text file, and hardcopy resultsLessons Using Basic FormattingUsing Advanced FormattingRedirecting Formatted OutputLab: Formatting OutputUse Formatting cmdlets to customize those cmdlets outputAfter completing this module, students will be able to:Use Basic FormattingUse Advanced FormattingRedirect Formatted OutputModule 6: Using WMI and CIMIn this module students will learn to use Windows Management Instrumentation / Common Information Model (WMI/CIM) to retrieve, and in some cases, modify management information about local and remote computers.Lessons Understanding WMI/CIMQuerying Data with WMI/CIMMaking Changes with WMI/CIMLab: Working with WMI and CIMLocate and Query WMI Classes to retrieve Management InformationAfter completing this module, students will be able to:Understand WMI/CIMQuery Data with WMI/CIMMake Changes with WMI/CIMModule 7: Prepare for ScriptingIn this module students will learn about pre-requisite features to writing PowerShell scripts, including variables and PowerShell’s scripting security features.Lessons Using VariablesScripting SecurityWorking with Alternate CredentialsLab: Working with Security in PowerShellConfigure Execution PolicyCreate and Use Alternate CredentialsAfter completing this module, students will be able to:Use VariablesScript SecurityWork with Alternate CredentialsModule 8: Moving From a Command to a Script to a ModuleIn this module students will learn to take a command that runs well in the console, and turn it into a reusable script. A number of important concepts, such as error handling, will be introduced – but not explored in extreme depth. Students will be taught enough to be “immediately effective” with these concepts, but not given an exhaustive education. The point is to get them started in an effective fashion using best practices, and to give them a basis for further independent exploration.Lessons Moving From Command to ScriptMoving From Script to Function to ModuleImplementing Basic Error HandlingUsing Basic Scripting ConstructsFurther Exploration in ScriptingLab: Moving From Command to ScriptConvert a Functioning command into a parameterized ScriptLab: Moving From Script to Function to ModuleEncapsulate a Script into a Function, Turn the script into a Module and add debuggingLab: Implementing Basic Error HandlingAdd Basic Error Handling capabilities to a ScriptLab: Adding Logic to a ScriptAdd a function to a ScriptAfter completing this module, students will be able to:Move From Command to ScriptMove From Script to Function to ModuleImplement Basic Error HandlingUse Basic Scripting ConstructsUnderstand Advanced functions and Scripting ConstructsModule 9: Administering Remote ComputersIn this module students will learn how to configure and use PowerShell RemotingLessons Using Basic RemotingUsing Remote SessionsUsing Remoting for Delegated AdministrationLab: Working with RemotingEnable RemotingRemotely Manage MachinesLab: Working with PSSessionsImport a Module from a Remote MachinesEstablish and Use Connections with several computersLab: Remoting for Delegated AdministrationCreate and Register a Custom Session ConfigurationTest the Custom Session ConfigurationAfter completing this module, students will be able to:Use Basic RemotingUse Remote SessionsUse Remoting for Delegated AdministrationModule 10: Putting it All TogetherIn this module students will utilize much of what they’ve learned to this point in a practical, from-scratch-exercise to configure a newly-installed Server Core computer.Lessons Planning the ScriptLab: Configuring a New Server Core InstallationDetermine Server Cores IP AddressAdd Server Core Computers IP Address to local TrustedHosts listAdd the Server Core Computer to a Domain and Configure a DHCP reservationAdd Specified Roles and features to the Server Core ComputerAfter completing this module, students will be able to:Plan your Windows PowerShell ScriptConfigure Server Core computers using Windows PowerShellModule 11: Using Background Jobs and Scheduled Jobs:
In this module students will learn to create and manage background jobs and scheduled jobs.Lessons Using Background JobsUsing Scheduled JobsLab: Working with Background JobsStart Background JobManage Existing JobsLab: Working with Scheduled JobsCreate, run and retrieve data using Scheduled JobsAfter completing this module, students will be able to:Using Module 12: Using Advanced PowerShell Techniques and ProfilesIn this module students will learn several additional techniques and feature of Windows PowerShell.Lessons Using Advanced PowerShell TechniquesCreating Profile ScriptsLab: Practicing Advanced TechniquesPractice Advanced TechniquesCreate a Profile Script that defines several parameter defaultsAfter completing this module, students will be able to:Use Advanced PowerShell TechniquesCreate Profile Scripts