Interested in a private company training? Request it here.
PowerShell was first introduced in 2008 as a scripting language for Windows Server. Over the years it has evolved to an open-source, cross platform solution that can be used on Windows, Linux and macOS.
The Windows PowerShell Integrated Scripting Environment (ISE) is a script editor for Windows PowerShell that allows you to run commands and write, test, and debug scripts in a single graphical interface. In addition to the PowerShell ISE, PowerShell is also well-supported in Visual Studio Code with rich intellisense and advanced debugging features.
Using the pipe operator in PowerShell you can easily perform complex operations in a single line of code. Format cmdlets can be used to change the default output of a command and the Out comdlets allow you to send data to a text file or grid.
PowerShell contains a bunch of commands that allow you to manipulate your objects using the pipeline. These cmdlets will help you to filter, sort, group, ... any object.
PowerShell works mostly with .NET objects but also provides full access to COM and WMI.
A module is a set of related PowerShell functionalities, grouped together as a convenient unit (usually saved in a single directory). PowerShell Package Manager allows you to find, install and remove software all from within PowerShell from various repositories on the Internet.
The execution policy is part of the security strategy of PowerShell. It determines whether you can load configuration files and run scripts, and it determines which scripts, if any, must be digitally signed before they will run.
PowerShell Remoting lets you run PowerShell commands or access full PowerShell sessions on remote systems.
Jobs are long-running tasks that are executed in the background. You don't have to wait for the job to finish and can perform other tasks while the job is running. Once completed, the job output can be retrieved. Jobs can be executed on a remote system or they can be scheduled.
The goal of PowerShell is to ease your work as an administrator. In this module we will talk about basic management tasks that you need to perform and how you can accomplish these through PowerShell. Configuring network settings, implementing security on files and folders, managing Active Directory.
With the out of the box possibilities, you can easily debug your scripts before running them in production. You can set breakpoints and use standard debugging options like step over, step into, step out. To modify the default PowerShell error handling behavior, you can write a trap or try-catch statement and run special code when errors are encountered.
DSC allows for declaratively specifying how a software environment should be configured. Upon running a configuration, DSC will ensure that the system gets the state described in the configuration. DSC configurations are idempotent. The Local Configuration Manager (LCM) periodically polls the system using the control flow described by resources to make sure that the state of a configuration is maintained.
Script statements allow you to write loops or conditional code.
Functions allow you to reuse your PowerShell code across various scripts. Custom objects can be used to store any form of data.
Turn your real time management and automation scripts into useful reusable tools and cmdlets. Use PowerShell to create your own modules.
PowerShell is a powerful tool for automating tasks and managing systems across different platforms. In this course you will learn to work with objects, connect to remote systems and write scripts. PowerShell can be used to manage your on-prem systems as well as many cloud services like Entra ID, Intune and Microsoft 365.
This course will get you acquainted with all the different features of PowerShell. You will learn how to automate and script administration, configuration and deployment of on-prem servers and cloud environments with out-of-the-box cmdlets and custom scripts.
This course is intended for: