Object-oriented, based on the .NET Framework, PowerShell (M10961) replaces (in a way) the command line. It allows you to execute scripts in batch. It is important to master the subtleties of PowerShell because it is becoming more and more important in the Windows environment, with Microsoft making it its main method of automating tasks and applications. The Windows PowerShell course will enable you to use this task-based scripting and command line language designed specifically for system administration. You will learn the basics, followed by installation and configuration. In this course we also cover commands, objects and classes, as well as scripts and file, alias and environment providers. You will learn how to customize your user interface. PowerShell is Microsoft's complete scripting language, powerful, versatile and easy to use, which will allow you to master variables, loops, etc.
Objectives
To provide the knowledge and skills required to use Windows PowerShell to automate system administration tasks for Windows servers.
Is it for you ?
Level 2 and 3 system administrators and support personnel with knowledge of Windows system administration and Active Directory. No previous experience with PowerShell or any other scripting language is required.
Prerequisite
Windows system administration experience (Course MS528).
Your benefits
Content
Module 1 - Fundamentals
- PowerShell version 5.1 and 7.x
- Configuration and environment
- Extensions (Shell is good, but with extensions it's even better)
- Console or ISE or Visual Studio Code
- Familiar commands from the command prompt
- Commands: syntax, location, aliases, help, settings
- PsProvider: how to access hierarchical information through multiple disk drives
See more + / -
Module 2 - Formatting
- Output display and object type
- What to display and how to display it
- Selection or formatting: the differences
Module 3 - Pipeline and CmdLets
- What is a command pipeline
- Principles and execution of commands in pipelines
- Characteristics of objects (properties and methods)
- Which command for which result (simple command vs. plural command)
- Calculated columns
- Importing and exporting objects
- Creation of our own objects
- Filtering and looping on objects
Module 4 - WMI and CIM
Two different tools for a similar use
- Windows Management Instrumentation control and monitoring of Windows systems.
- Common Information Model allows connection to non-Windows systems.
- Using PowerShell remote access with CIM
- Information requests and WQL language
- Using sessions with CIM
Module 5 - Active Directory
- Module management
- Backward compatibility
- Creating objects in the Active Directory
Module 6 - Scripts
- Variables (characteristics, scope, usage, type...)
- Security (scope and limitation)
- Saving and testing
- Limits and constraints of functions in scripts, especially at the security level
- Security and certification
- Script execution rules, saving, testing, debugging, error handling
- Documentation of scripts
- Conversion of scripts into modules
Module 7 - Remote access
- The WS-MAN protocol with WinRM is reserved for certain PowerShell commands only.
- Limitations related to identification: role and access consistency
- One-to-one or one-to-many connection
- Best practices: organize remote processing and retrieve results locally
- Session management
Module 8 - Background Tasks
- Local, Remote, WMI: different functions with different characteristics
- Specific features to launch and manage a task
- Recovery of task results
Module 9 - Windows Administration
Intensive lab to consolidate learning
- Management and installation of roles on servers with the ServerManager module
- Manage group policies with the GroupPolicy module
- Use of best practice tools with the BestPractice module
- Management of web sites with the IIS module with the WebAdministration module
💡 Useful information
Our training sessions are offered in Montreal or Quebec City, in person or in virtual format. Dates and locations are provided when you select your session below. If you have any questions regarding registration, schedules, the language of instruction, or cancellation policies, please consult our FAQ .
Trainers
Private or personalized training
Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.
Request a quote