Description
This training will teach you to master this Microsoft scripting language and automate administration tasks under Windows XP, Vista and Server 2003. You will implement PowerShell (Version 2) in areas as varied as networking, process management or the inventory of a fleet of machines.
Who is this training for ?
For whom ?Systems and network technicians, administrators and engineers.
Prerequisites
Training objectives
Training program
- Language basics
- - Installing PowerShell.
- - Commands, cmdlets, pipelines.
- - Practical work Handling aliases, profile files.
- - Using the first commands.
- Types and operators
- - Variables, basic types and collections.
- - Regular expressions.
- - Operators (arithmetic, assignment, logic, string, redirection).
- - Practical work Use variables, operators and regular expressions.
- Control structures and functions
- - Loop for, while, foreach, switch.
- - Functions and pipeline.
- - Passing arguments to a script.
- - Manipulation of XML configuration files.
- - Practical work Implementation of control structures.
- - Using and configuring functions.
- Display management and navigation
- - Output control and redirection (paging, printing).
- - Move to PowerShell drives.
- - Access to system environment data.
- Error handling
- - Error categories.
- - Catching an error.
- - Script debugging: execution trace, strict mode.
- - Windows event log.
- - Practical work Debugging.
- - Illustration of the use of exceptions.
- Using .NET and COM via PowerShell
- - Using object libraries to manipulate system components.
- - Internet access via PowerShell.
- - PowerShell and the GUI: forms.
- - Access to event logs, network.
- - Practical work Handle WebClient objects.
- - Network access.
- Using PowerShell for administration
- - Administer Windows with WMI.
- - Manage local processes and services.
- - Information collection.
- - Installation inventory.
- - Manipulating files and folders, keys and registry entries.
- - Changing the state of a computer.
- - Using printers.
- - Network management tasks.
- - Practical work Find the shares of a workstation.
- - Test the presence of machines on the network.
- - Retrieve information.
- - Start and stop processes.
- - Use events, services, the registry.
- Managing PowerShell script security
- - User authentication, execution strategy.
- - Script signing, use of certificates.
- - Password storage.