Automating Administration with Windows PowerShell v3.0

This course provides the skills to remotely manage Windows-based servers and automate day-to-day management and administration tasks with Windows PowerShell 3.0. It is focused on primary Windows PowerShell command-line features and techniques that can be used in conjunction with the Microsoft Windows Server, Windows Client, Exchange Server, SharePoint Server, SQL Server, System Center and others. 

Who's it for?

This course is for IT administrators and professionals that want to use Windows PowerShell to automate administrative tasks from the command line, with either a Microsoft or independent product that supports Windows PowerShell manageability.

Attendees are likely to be already experienced in general Windows Server and Windows client administration and/or experienced in administering Exchange, SharePoint and SQL. It is not a scripting/programming course and attendees are not expected to have prior scripting, programming or Windows PowerShell experience.

Key objectives

After attending this course a delegate 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
  • move 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.

Prerequisites

Delegates should have:

  • previous Windows Server and Windows client management knowledge and practical experience
  • experience of 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 experience specifically with Windows Server 2012 and Windows 8 (helpful, but not essential).

What's covered?

Module 1: Getting started with Windows PowerShell

  • Overview and background
  • Finding and learning commands
  • Running commands
  • Lab: Configuring Windows PowerShell
    • Configure the Windows PowerShell console application
    • Configure the Windows PowerShell ISE application
  • Lab: Finding and running basic commands
    • ​Finding commands
    • Finding and running commands
    • Using ‘About’ files

Module 2: Working with the pipeline

  • Understanding the pipeline
  • Selecting, sorting, and measuring objects
  • Converting, exporting, and importing objects
  • Filtering objects out of the pipeline
  • Enumerating objects in the pipeline
  • Lab: Using the pipeline
    • Selecting and sorting data
  • Lab: Converting, exporting, and importing objects
    • Converting objects
    • Importing and exporting objects
  • Lab: Filtering objects
    • Filtering objects
  • Lab: Enumerating objects
    • Enumerating objects

Module 3: Understanding how the pipeline works

  • Passing data in the pipeline by value
  • Passing data in the pipeline by property name
  • Lab: Working with pipeline parameter binding
  • Predicting pipeline behaviour

Module 4: Using PSProviders and PSDrives

  • Using PSProviders
  • Using PSDrives
  • Lab: Using PSProviders and PSDrives
    • Create a new folder
    • Create a new PSDrive
    • Create a new registry key
    • Create a new registry setting
    • Modify a WS-Management setting

Module 5: Formatting output

  • Using basic formatting
  • Using advanced formatting
  • Redirecting formatted output
  • Lab: Formatting output
    • Formatting command output
    • Reproducing specified output

Module 6: Querying management information by using WMI and CIM

  • Understanding WMI and CIM
  • Querying data with WMI and CIM
  • Making changes by using WMI and CIM
  • Lab: Working with WMI and CIM
    • Querying information by using WMI
    • Querying information by using CIM
    • Invoking methods

Module 7: Preparing for Scripting

  • Using variables
  • Scripting security
  • Lab: Working with security in Windows PowerShell
    • Configure security

Module 8: Moving from a command to script to module

  • Moving from command to script
  • Moving from script to function to module
  • Implementing basic error handling
  • Using basic scripting constructs
  • Exploring other scripting features
  • Lab: Moving from command to script
    • Test the command
    • Parameterise changing values
    • Add verbose output
    • Add comment-based help
  • Lab: Moving from script to function to module
    • Convert the script to a function
    • Save the script as a script module
    • Add debugging breakpoints
  • Lab: Implementing basic error handling
    • Add error handling to a function
    • Add error handling to a new function
  • Lab: Creating an advanced function
    • Test an existing command
    • Create a parameterized function
    • Handle multiple targets
    • Add error handling

Module 9: Administering remote computers

  • Using basic remoting
  • Using advanced remoting techniques
  • Using remoting sessions
  • Lab: Using basic remoting
    • Enable remoting on the local computer
    • Performing one-to-one remoting
    • Performing one-to-many remoting
  • Lab: Using remoting sessions
    • Using implicit remoting
    • Multicomputer management

Module 10: Putting it all together

  • Provisioning a new server core instance
  • Lab: Provisioning a new server core installation
    • Create a parameterised script
    • Get the dynamic IP address of the new server core computer
    • Create a DHCP reservation for the server core instance
    • Modify the local TrustedHosts list
    • Add a role to the server core instance
    • Add the server core instance to the domain
    • Test the completed script

Module 11: Using background jobs and scheduled jobs

  • Using background jobs
  • Using scheduled jobs
  • Lab: Using background jobs
    • Starting jobs
    • Managing jobs
  • Lab: Using scheduled jobs
    • Creating a scheduled job

Module 12: Using profiles and advanced PowerShell techniques

  • Using advanced PowerShell techniques
  • Creating profile scripts
  • Working with alternative credentials
  • Lab: Practicing advanced techniques
    • Using advanced techniques
    • Using alternative credentials
    • Create a profile script
    • Connect to remote computers by using alternative credentials

Next step

To obtain course venues/dates and pricing please email your account manager, submit the enquiry form below or call us on 0845 647 0000*

Enquire now . . .