PowerShell

Program for kurset (på engelsk)

The program

Module A: Getting started with Windows PowerShell

This module will introduce you to Windows PowerShell and provide an overview of the product’s functionality. The module shows you how to open and configure the shell for use and how to run commands within the shell. The module also introduces the built-in Help system in Windows PowerShell.

  • Lessons
    • Overview and background of Windows PowerShell
    • Understanding command syntax
    • Finding commands
  • 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

Module B: Cmdlets for administration

This module 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

  • Lessons
    • 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

Module C: Working with the Windows PowerShell pipeline

This module 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 module provides you with the skills and knowledge that will help you use the shell more effectively and efficiently.

  • Lessons
    • 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
    • Filtering objects
    • Enumerating objects
    • Exporting user information to a file

Module D: Understanding how the pipeline works

This module shows you how Windows PowerShell passes objects from one command to another in the pipeline. The shell provides two techniques that you can use. Knowing how these techniques work, and which one will be used in a given scenario, lets you construct more useful and complex command lines.

  • Lessons
    • Passing the pipeline data
    • Advanced considerations for pipeline data
  • Lab: Working with pipeline parameter binding
    • Predicting pipeline behaviour

Module E: Querying system information by using WMI and CIM

This module 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.

  • Lessons
    • 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

Module F: Working with variables, arrays, and hash tables

This module provides you the skills and knowledge required to use variables, arrays, and hash tables in Windows PowerShell.

  • Lessons
    • Using variables.
    • Manipulating variables.
    • Manipulating arrays and hash tables.
  • Lab: Working with variables
    • Working with variable types
    • Using arrays
    • Using hash tables

Module G: Basic scripting

This module 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.

  • Lessons
    • 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