Banner

Automating Administration with Windows PowerShell

Live Classroom
Duration: 5 days
Live Virtual Classroom
Duration: 5 days
Pattern figure

Overview

The course equips students with the essential skills for identifying and building the command they need for performing specific administration and automation tasks using Windows PowerShell. The course covers how to build scripts to accomplish advanced tasks, such as, automating repetitive tasks and generating reports. The course imparts the prerequisite skills that support a broad range of Microsoft products, such as, Windows Server, Windows Client, Microsoft Exchange Server, Microsoft SharePoint Server, Microsoft SQL Server, System Center, etc. Since PowerShell is a common platform for all of these Microsoft products, the course helps participants understand different techniques with ample examples.

microsoft

What You'll Learn

  • Describe the functionality of 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

Curriculum

  • 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

  • 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

  • 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

  • Using PSProviders
  • Using PSDrives
  • Lab : Using PSProviders and PSDrives
    • 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

  • 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 PSSessions
    • Using implicit remoting
    • Managing multiple computers

  • 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
  • Lab : Practicing script development
waves
Ripple wave

Who should attend

The course is highly recommended for –
  • IT professionals
  • PowerShell scripters
  • PowerShell developers
  • Azure administrators
  • SharePoint administrators and developers

Prerequisites

For attending this course, participants need to have –
  • Experience with Windows networking technologies and implementation
  • Experience with Windows Server administration, maintenance, and troubleshooting
  • Experience with Windows Client administration, maintenance, and troubleshooting
  • Participants who attend this training can meet the prerequisites by obtaining equivalent knowledge and skills through practical experience as a Windows system administrator

Interested in this Course?

    Ready to recode your DNA for GenAI?
    Discover how Cognixia can help.

    Get in Touch
    Pattern figure
    Ripple wave