Goals
- Implement Powershell to automate operations on Windows Server and Active Directory
Program
Install PowerShell
Object overview
Working with the
Completion, Alias, and History cmdlets
Variables and types
Present information with specific formatting
Use the arrows and the history
Use the « pipe »
Sequential execution of the commands
Filter and iteration through the « pipe »
Writing PowerShell scripts
Security in Windows PowerShell
Digitally signing these scripts Scripting
methodologies
Presentation of scripting tools
Variables, arrays, literals and operators
Scope of variables
Constructions used in scripts
Interception and handling of errors
Debugging techniques
Modularization
The if statement
The switch
statement The Where-Object statement
The for loop
The while and do loops … while and do … until
The foreach loop
Control the flow of execution in scripts
Control the flow of loops
Develop and use functions
Advanced functions: validation block, documentation, parameter sets, pipeline management
The concept of system and user
profiles Create generic profiles
Target profiles by application
Manage data with Powershell
Manage registry and certificates with Powershell
Filter and select with regular expressions
Manage event logs
Import and export objects
Duration
5 days
Price
£ 2599
Audience
Administrators, Developers
Prerequisites
Basic knowledge of Windows Server administration
Reference
WIN525-F
Presentation of the available PowerShell modules
RSAT Server Manager Cmdlets
Install modules from the Powershell Gallery
Workshop: Using PSWindowsUpdate, Carbon, NTFSSecurity, PSExcel
Examination of a sample script
replay scripts
Refactoring code and adding features
The global options of the Warning, Error and WhatIf commands
The redirects of the error
output
The exit codes The debugging and spying of variables in IDEs and with Powershell
The throw and exit commands
The try catch finally directives
Principles of use
The main useful classes
Workshop: Using the Math and FileIO classes
Presentation of techniques: WinForm or WPF
Create forms
Manage events and associated actions
Workshop: Creation of a group interface for creating accounts
Introduction to WMI objects
Protocol and cmdlets: WMI or CIM
Use for monitoring: WMI and performance counter
Use for remote administration
Administering domains and forests
Managing user accounts and groups
Managing relationships between users and groups
Workshop: Importing automated accounts
Passing of the certification (if foreseen in the financing)
Sessions
Contact us for more informations about session date