Getting started with Windows PowerShell
- Overview of Windows PowerShell.
- Understanding the syntax of the commands.
- Identifying and executing commands.
Hands-on work
Configuring Windows PowerShell. Searching for and executing basic commands.
Cmdlets for administration
- Active Directory administration cmdlets.
- Network configuration cmdlets.
- Other server administration cmdlets.
Hands-on work
Create and manage Active Directory objects and configure network settings on Windows Server.
Working with the Windows PowerShell pipeline
- Understanding the pipeline.
- Selection, sorting and measurement of objects.
- Filtering objects outside the pipeline.
- Identifying objects in the pipeline.
- Sending pipeline data as output.
Hands-on work
Selection, sorting and display of data. Object filtering and object enumeration. Export user information to a file.
PSProviders and PSDrives
- The use of PSProviders.
- The use of PSDrives.
Hands-on work
Hands-on work
Create files and folders on a remote computer. Create a registry key and an Active Directory group.
- WMI (windows management instrumentation) and CIM (common information model)
- Understanding WMI and CIM.
- Data querying using WMI and CIM.
Hands-on work
Hands-on work
Querying information using WMI, CIM and method calls.
- Variables, arrays and hash tables (dictionaries)
- The use of variables.
- Working with variables.
Hands-on work
Hands-on work
Work with variable types, using arrays and hash tables.
- Basic scripts
- Scripts: instructions and use.
- Scripting constructs.
Hands-on work
Hands-on work
Script creation. Create a random password and users based on a CSV file.
- Advanced scripts
- Accepting a user input.
- Overview of script documentation.
Hands-on work
Functions and modules.
Hands-on work
- Query disk information from remote computers. Implement functions and modules.
- Administering computers remotely
- Using basic remote Windows PowerShell commands.
- Using Windows PowerShell remote communication techniques.
Hands-on work
Hands-on work
Create and manage remote access sessions.
- Advanced Windows PowerShell techniques
- Creating profile scripts.
- Using advanced techniques.
Hands-on work
Create a profile script. Check the validity of an IP address. Report information about the disk. Create user accounts with passwords from a CSV file.
Understanding how the pipeline works
- Processing pipeline data.
- Advanced processing of pipeline data.
Hands-on work
Pass data using the ByValue technique.
Background tasks and scheduled tasks (job)
- Using background tasks.
- Using scheduled tasks.
Hands-on work
Create and manage tasks in the background. Create and manage scheduled tasks.