Course : PowerShell 5/4: Automating Windows administration

PowerShell 5/4: Automating Windows administration

Download in PDF format Share this course by email 2


This course will allow you to become proficient in Microsoft's new scripting language (PowerShell 5 as well as PowerShell 4) to automate administration tasks in Windows 8, 10, 2016 and 2012 R2. You'll implement PowerShell in fields as varied as networking, process management, fleet inventorying, and Active Directory management. You’ll be able to validate your skills with AVIT® certification, offered as an option.


Inter
In-house
Custom

Practical course in person or remote class

Ref. ATU
Price : 2030 CHF E.T.
  3d - 21h00




This course will allow you to become proficient in Microsoft's new scripting language (PowerShell 5 as well as PowerShell 4) to automate administration tasks in Windows 8, 10, 2016 and 2012 R2. You'll implement PowerShell in fields as varied as networking, process management, fleet inventorying, and Active Directory management. You’ll be able to validate your skills with AVIT® certification, offered as an option.

Teaching objectives
At the end of the training, the participant will be able to:
  • Write scripts in Windows with PowerShell 5.x
  • Manage users with PowerShell scripts
  • Automate administrative tasks in Windows with PowerShell
  • Format output messages
  • Use background processing and remote administration features

Intended audience
Technicians, administrators, and system/network engineers.

Prerequisites
Good knowledge of Windows operating systems. Knowledge of a desirable scripting or programming language.

Course schedule

Basics of the language

  • The connection between PowerShell and .NET.
  • Principle, functionality, and usage of commands and cmdlets.
  • Pipelines: Behavior of flows and configuring them. Code simplification, the pipelinevariable.
  • Where-objects filters, foreach loops.
  • Variables, types of operators.
  • Windows ISE Version 5, a new scripting environment.
Hands-on work
Learn about and register for the AVIT® certification option. Using different cmdlets, using the pipe, the pipelinevariable. Using the first commands. Use of filters.

Types and operators

  • Type system, conversion rules.
  • Variables, definition, scope.
  • Basic types.
  • Regular expressions. Qualifier.
  • Operators (arithmetical, assignment, logical, string, redirect. etc.).
  • Comparators and collections.
Hands-on work
Using variables, operators, and regular expressions.

Control structures and functions

  • Control structures using cmdlets.
  • Conditional structures.
  • for loop. while loop. foreach loop.
  • Switch structure.
  • Functions, scope modifiers.
  • Execution phases of a function.
  • Using functions in a pipeline.
  • Passing arguments to a script.
Hands-on work
Implementing control structures. Using and configuring functions.

Using cmdlettes and modules

  • Archive management (compress-archive, expand-archive).
  • Web cmdlettes (invoke-webrequest, invoke-restmethod).
  • Cmdlettes for managing your servers and workstations (add-computer, restart-computer).
  • Network management cmdlettes (new-net*, get-net*, get-bgprouter, etc.).
  • Administration cmdlettes (get-event, start-process, etc.).
  • File management (get-content, tee-object, import-csv, convertto-html, and style sheets).
Hands-on work
Retrieving an RSS flow from the Internet. Creating a Web page with the use of a style sheet, a script for geolocating IP addresses connected to workstations. Modifying IP addresses remotely, incorporating a computer into a domain. Remote ZIP decompression.

Using CIM objects

  • The CIM (Common Information Model) data model. CIM and WMI.
  • New cmdlet for managing the WMi (get-cimstance, new-cimsession, etc.).
  • Difference between get-wmiobject and get-ciminstance.
  • Listing WMI classes, complete aid.
  • Using WMI methods and properties (sharing a workstation, testing for the presence of machines on the network, etc.).
Hands-on work
Finding a workstation's shares. Remotely deleting applications, remotely editing a gateway. Retrieving information.

Using .NET and COM

  • Using object libraries to manipulate the system's components.
  • Using .NET classes (ping, udp, credential, etc.).
  • System classes.
  • PowerShell and the GUI: Introduction to XAML.
Hands-on work
Creating an XAML form. Creating a secure authentication script for connecting to servers, wake-on-LAN script.

Managing PowerShell V3 modules, packages

  • How a module operates. Listing modules.
  • The module DHCP, DNS, hyper-V.
  • The Active Directory module.
  • The commands: Find and install modules (find-module, install-module...).
  • Package management.
Hands-on work
Creating a user in Active Directory, querying objects in Active Directory, installing a module loading on the Internet, settings.

Com objects

  • Listing the available com objects.
  • New performances of com objects.
  • Creating and editing an Excel workbook.
  • Opening a PowerPoint or Word file.
Hands-on work
Creating an Excel workbook, retrieving server data (disk space, IP, process, applications, etc.).

The best cmdlettes and PowerShell tips

  • commands: get-random, get-process, get-service.
  • Turning the text into an object (ConvertFrom-String).
  • The Psedit command.
  • Creating symbolic links (new-item).
  • The basic commands get-filehash, get-disk, get-hotfix.
  • Commands and variables: new-guid, new-smbshare, new-timespan.
  • Online option: Schedule and take the AVIT® exam within 4 weeks.
Hands-on work
Creating a password generator. File integrity check, NTFS permission. Generating a time counter, creating sharing.


Certification
If registering for the AVIT® Automating Administration With Windows PowerShell certification option, you must do so at the same time as course registration. The exam is a multiple-choice test lasting one-and-a-half to two hours. The result indicates your skill level. Merely taking the course is not sufficient to achieve a maximum score. The exam must be both scheduled and then taken online within 4 weeks following the start of your session.

Practical details
Hands-on work
Discussions, experience-sharing, demonstrations, tutorials, and real cases.
Teaching methods;
Active learning based on examples, demonstrations, experience-sharing, real cases, and an evaluation of what was learned from the training.

Customer reviews
4,6 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.


Dates and locations
From 22 to 24 May 2024 *
FR
Remote class
Guaranteed session
Registration
From 22 to 24 May 2024 *
FR
Remote class
Guaranteed session
Registration
From 17 to 19 June 2024 *
FR
Remote class
Guaranteed session
Registration
From 8 to 10 July 2024
FR
Remote class
Registration
From 25 to 27 September 2024 *
FR
Remote class
Guaranteed session
Registration
From 23 to 25 October 2024
FR
Remote class
Registration
From 2 to 4 December 2024 *
FR
Remote class
Guaranteed session
Registration
From 9 to 11 December 2024
FR
Remote class
Registration