This 5 day instructor-led training class is presented by Microsoft training partners to their end customers. Channel Partners nationwide hire proven AMS Subject Matter Expert Microsoft Certified Trainers (MCT’s) to teach on-site or on-line classes.
This class provides students with the fundamental knowledge and skills to use Windows PowerShell for administering and automating administration of Windows based servers.
Goals
- Learn how Windows PowerShell works.
- Learn to use Windows PowerShell as an interactive, command-line shell.
- Learn to use Core Windows PowerShell cmdlets for everyday purpose.
- Learn to customize Windows PowerShell output using Windows PowerShell Formatting Subsystem.
- Learn what Windows Management Instrumentation (WMI) is and how it can be used from Windows PowerShell.
- Learn to manage Active Directory objects using Windows PowerShell cmdlets.
- Learn to write basic Windows PowerShell scripts that execute batches of commands.
- Learn to work with Windows PowerShell’s background jobs and remote administration functionality.
- Learn mastery of the scripting language of Windows PowerShell.
- Learn to use advanced techniques related to structured programming within Windows PowerShell.
- Learn to automate Windows Server 2008 R2 Administration using Windows PowerShell.
- Learn to identify the best practices for working with Windows PowerShell.
Outline
- Fundamentals for Using Windows PowerShell v2
- Windows PowerShell Technology Background and Overview
- Windows PowerShell as an Interactive Command-Line Shell
- Using the Windows PowerShell Pipeline
- Lab: Using Windows PowerShell as an Interactive Command-Line Shell
- Searching for text files within Windows.
- Browsing the Windows registry.
- Discovering additional Windows commands and viewing help.
- Adding additional commands to your Windows Powershell session.
- Formatting Powershell output.
- Lab: Using the Windows PowerShell Pipeline
- Stopping and restarting a Windows service.
- Exploring objects returned by PowerShell commands.
- Processing PowerShell output.
- Understanding and Using the Windows PowerShell Formatting System
- Understanding the Formatting System
- Using the Formatting System
- Lab: Using the Formatting Subsystem
- Displaying calculated properties
- Displaying a limited number of columns
- Displaying all properties and values of PowerShell objects
- Viewing PowerShell objects via HTML
- Displaying a limited number of properties
- Displaying PowerShell objects using different formatting
- Displaying a sorted list of PowerShell objects
- Core Windows PowerShell Cmdlets
- Core Windows PowerShell Cmdlets for Everyday Use
- Comparison Operators, Pipeline Filtering, and Object Enumeration
- Advanced Pipeline Techniques
- Lab: Using the Core Windows PowerShell Cmdlets
- Sorting and selecting objects
- Retrieving a number of PowerShell objects and saving to a file
- Comparing PowerShell objects using XML
- Saving objects to a CSV file
- Measuring a collection of PowerShell objects
- Lab: Filtering and Enumerating PowerShell Objects in the Pipeline
- Comparing numbers (integer objects)
- Comparing string objects
- Retrieving processes from a computer
- Retrieving services from a computer
- Iterating through a list of objects
- Lab: Using Pipeline Parameter Binding
- Using advanced pipeline features
- Working with multiple computers
- Stopping a list of Windows processes
- Binding properties to parameters
- Windows Management Instrumentation
- Windows Management Instrumentation Overview
- Using Windows Management Instrumentation
- Lab: Using WMI in Windows PowerShell
- Building Windows computer inventory
- Discovering the WMI classes and namespaces
- Generating a logical disk report for all computers
- Listing local users and groups
- Automating Active Directory Administration
- Active Directory Automation Overview
- Managing Users and Groups in PowerShell 2.0
- Managing Computers and Other Directory Objects
- Lab: Managing Windows Users and Groups in PowerShell 2.0
- Retrieving a filtered list of users from Active Directory
- Resetting user passwords and address information
- Disabling users that belong to a specific group
- Lab: Managing Computers and Other Directory Objects
- Listing all computers that appear to be running a specific operating system according to Active Directory information
- Creating a PowerShell 2.0 report showing all Windows Server 2008 R2 servers
- Managing fine-grained password policies for Windows machines in Active Directory
- Discovering Organizational Units that are not protected against accidental deletion
- Windows PowerShell Scripts
- PowerShell 2.0 Script Security
- Basic PowerShell Scripts
- Parameterized PowerShell Scripts
- Lab: Writing Windows PowerShell Scripts
- Executing PowerShell scripts
- Using positional script parameters
- Using named script parameters
- Windows Background Jobs and Remote Administration through PowerShell 2.0
- Working with Background Jobs
- Using Windows PowerShell Remoting
- Lab: Working with Windows PowerShell Background Jobs
- Using background jobs with WMI
- Using background jobs for local computers
- Receiving the results from a completed PowerShell job
- Removing a completed job
- Waiting for a background job to complete
- Stopping a background job before it completes
- Working with the properties of a job
- Lab: Using Windows PowerShell Remoting
- Interactive remoting
- Fan-out remoting
- Fan-out remoting using PowerShell background jobs
- Saving information from PowerShell background jobs
- Advanced Windows PowerShell Tips and Tricks
- Using Profiles
- Re-Using PowerShell Scripts and Functions
- Writing Comment-Based Help in PowerShell
- Lab: Advanced PowerShell Tips and Tricks
- Writing a profile script
- Creating a script module
- Adding help information to a PowerShell function
- Automating Windows Server 2008 R2 Administration
- Windows Server 2008 R2 Modules Overview
- Server Manager Cmdlets Overview
- Group Policy Cmdlets Overview
- Troubleshooting Pack Overview
- Best Practices Analyzer Cmdlets Overview
- IIS Cmdlets Overview
- Lab: Using the Server Manager Cmdlets
- Listing all currently installed features
- Comparing objects
- Installing a new server feature
- Exporting current configuration to XML
- Lab: Using the Group Policy Cmdlets
- Listing all the Group Policy Objects in the domain
- Creating a text-based report
- Creating an HTML report
- Backing up all Group Policy Objects
- Lab: Using the Troubleshooting Pack Cmdlets
- Importing the Troubleshooting Pack module
- Solving an end-user problem interactively
- Solving a problem using answer files
- Lab: Using the Best Practice Analyzer Cmdlets
- Importing the Best Practice module
- Viewing existing models
- Running a Best Practices scan
- Lab: Using the IIS Cmdlets
- Importing the IIS module
- Creating a new web site
- Backing up IIS
- Modifying web site bindings
- Using the IIS PSDrive
- Restoring an IIS Configuration
- Reviewing and Reusing Windows PowerShell Scripts
- Example PowerShell Script Overview
- Understanding PowerShell Scripts
- Writing Your Own Windows PowerShell Scripts
- Variables, Arrays, Escaping, and More Operators
- What is Scope?
- Scripting Constructs within PowerShell 2.0
- Error Trapping and Handling
- Debugging Techniques
- Modularization
- Lab: Using Variables and Arrays
- Creating variables and interact with them
- Understanding arrays and hashtables
- Using Single- and double-quoted strings and the backtick
- Using Arrays and array lists
- Using ‘Contains’, ‘like’, and ‘equals’ operators
- Lab: Using Scripting Constructs
- Processing and validating input
- Working with For, While, ForEach, and Switch
- Exploiting the power of the one-liner
- Lab: Error Trapping and Handling
- Retrieving error information
- Handling errors
- Integrating error handling
- Lab: Debugging a PowerShell 2.0 Script
- Debugging from the Windows PowerShell console
- Debugging using the Windows PowerShell ISE
- Lab: Modularization
- Generating an inventory audit report
To Hire a proven AMS Windows PowerShell Subject Matter Expert Consultant and Instructor who also teaches this class, call 800-798-3901 today!