CODE | FEE | DAYS |
ITS-001 | $ 4000 | 5 days |
Course Description
- This course provides students with the basic knowledge and skills to use Microsoft Windows PowerShell for administering and automating administration of Windows servers. It 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 and more.
Course Objectives
After completing this course, students will be able to:
- Describe the functionality of Microsoft 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.
Who Should Attend?
- This course is intended for IT professionals who are already experienced in general Windows Servers and Windows Client administration, and who want to learn more about using Windows PowerShell for administration. No prior experience with Windows PowerShell or any scripting language is required. This course is also suitable for IT professionals with experience in server administration, including Active Directory, Exchange Server, SQL Server, SharePoint Server, etc.
Course Schedule
Day-1
Getting started with Microsoft Windows PowerShell and cmdlets
This section will introduce you to Windows PowerShell and provide an overview of the product’s functionality. It shows you how to open and configure the shell for use and how to run commands within the shell. It also introduces the built-in Help system in Windows PowerShell. This section introduces you to the cmdlets commonly used for administration. While you can search for cmdlets each time you need to accomplish a task, it is more efficient to have at least a basic understanding of the cmdlets available for system administration.
- Overview and background of Windows PowerShell
- Understanding command syntax
- Finding commands
- Identify and use cmdlets for Active Directory administration
- Identify and use cmdlets for network configuration
- Identify and use cmdlets for other server administration tasks
- Lab: Configuring Windows PowerShell
- Configuring the Windows PowerShell console
- Configuring the Windows PowerShell ISE application
- Lab: Finding and running basic commands
- Finding commands
- Running commands
- Using the About files
- Active Directory administration cmdlets
- Network configuration cmdlets
- Other server administration cmdlets
- Lab: Windows Administration
- Creating and managing Active Directory objects
- Configuring network settings on Windows Server
- Creating a web site
Day-2
Working with the Microsoft Windows PowerShell pipeline
- This section introduces the pipeline feature of Windows PowerShell. Although the pipeline feature is included in several command-line shells such as the command prompt in the Windows operating system, the pipeline feature in Windows PowerShell provides more complex, more flexible, and more capable functionalities compared to other shells. This section provides you with the skills and knowledge that will help you use the shell more effectively and efficiently.
- 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
- Selecting, sorting, and displaying data
- Lab: Filtering objects
- Filtering objects
- Lab: Enumerating objects
- Enumerating objects
- Lab: Sending output to a file
- Exporting user information to a file
- Passing the pipeline data
- Advanced considerations for pipeline data
- Lab: Working with pipeline parameter binding
- Predicting pipeline behavior.
Day-3
Using PS Providers and PS Drives and working with WMI, CIM, variables and arrays
- This section introduces the PS Providers and PS Drives adapters. A PS Provider is basically a Windows PowerShell adapter that makes some form of storage resemble a disk drive. A PS Drive is an actual connection to a form of storage. You can use these two adapters to work with various forms of storage by using the same commands and techniques that you use to manage the file system. This section introduces you to two parallel technologies: Windows Management Instrumentation (WMI) and Common Information Model (CIM). Both 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.
- Using PS Providers
- Using PS Drives
- Lab: Using PS Providers and PS Drives
- Creating files and folders on a remote computer
- Creating a registry key for your future scripts
- Create a new Active Directory group
- Understanding WMI and CIM
- Querying data by using WMI and CIM
- Making changes with WMI/CIM
- Lab: Working with WMI and CIM
- Querying information by using WMI
- Querying information by using CIM
- Invoking methods
- Using variables.
- Manipulating variables.
- Manipulating arrays and hash tables.
- Lab: Working with variables
- Working with variable types
- Using arrays
- Using hash tables
Day-4
Scripting and administrating remote computers
- This section shows you how to package a Windows PowerShell command in a script. Scripts allow you to perform repetitive tasks and more complex tasks than cannot be accomplished in a single command. This section introduces you to the Windows PowerShell remoting technology that enables you to connect to one or more remote computers and instruct them to run commands on your behalf.
- Introduction to scripting
- Scripting constructs
- Importing data from files
- Lab: Basic scripting
- Setting a script
- Processing an array with a ForEach loop
- Processing items by using If statements
- Creating a random password
- Creating users based on a CSV file
- Accepting user input
- Overview of script documentation
- Troubleshooting and error handling
- Functions and modules
- Lab: Accepting data from users
- Querying disk information from remote computers
- Updating the script to use alternate credentials
- Documenting a script
- Lab: Implementing functions and modules
- Creating a logging function
- Adding error handling to a script
- Converting a function to a module
- Using basic Windows PowerShell remoting
- Using advanced Windows PowerShell remoting techniques
- Using PSSessions
- Lab: Using basic remoting
- Enabling remoting on the local computer
- Performing one-to-one remoting
- Performing one-to-many remoting
- Lab: Using Possessions
- Using implicit remoting
- Managing multiple computers
Day-5
This section provides information about the job features of Windows PowerShell. Jobs are an extension point in Windows PowerShell, and there are many different kinds of jobs. Each kind of job can work slightly differently, and has different capabilities. This section covers several advanced Windows PowerShell techniques and features. Many of these techniques and features extend functionality that you have learned about in previous modules. Some of these techniques are new and provide additional capabilities.
- Using background jobs
- Using scheduled jobs
- Lab: Using background jobs and scheduled jobs
- Starting and managing jobs
- Creating a scheduled job
- Creating profile scripts
- Using advanced techniques
- Lab: Practicing advanced techniques
- Creating a profile script
- Verifying the validity of an IP address
- Reporting disk information
- Configuring NTFS permissions
- Creating user accounts with passwords from a CSV file