Objectives of the training
To provide the knowledge and skills required to use Windows PowerShell to automate system administration tasks for Windows servers.Targeted audience
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).Trainers
Course architecture
- 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
- Output display and object type
- What to display and how to display it
- Selection or formatting: the differences
- 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
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 management
- Backward compatibility
- Creating objects in the Active Directory
- 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
- 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
- Local, Remote, WMI: different functions with different characteristics
- Specific features to launch and manage a task
- Recovery of task results
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
Training Notes
The course manual is in French.
Private or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quotePrivate or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quote