PowerShell Fundamentals

  • Heilsdagshópur

    Dags. 25. mar '19 - 27. mar '19
    Skráningarfrestur 18. mar '19
    Dagar mán-mið
    Tími 09:00-16:30
    Lengd 21 std. - 2 skipti
    Verð 189.000 kr.
Fyrir hverja: IT Professionals
Tæknin: PowerShell
Kennsluaðferð: Hægt að velja um staðnám og/eða fjarkennslu í beinni
Lengd námskeiðs: 3 dagar (fyrri hluti stærra námskeiðs og því er hægt að bæta við sig tveimur dögum í PowerShell and Configuration Manger eftir þetta)
Tungumál: Kennsla er á ensku, kennsluefni er á ensku


With the increasing demand on time for administrators in IT automation has become an important skill to learn. Additionally there are certain features and functions within the Microsoft product line that can only be configured and used with Microsoft scripting standard PowerShell. It doesn’t hurt that automation with PowerShell is one of the most cost-effective ways to optimize time on task.

In this three day training you will learn the basic building blocks of PowerShell. You will learn to use Visual Studio Code to write everything from small, simple commands and one-liners to more powerful scripts. You will also learn how to understand and break down other writers’ scripts.

Expert and Microsoft MVP Nickolaj Andersen from TrueSec has developed and deliver this five day hands-on lab.

Fyrir hvern?/Inntökuskilyrði

A basic understanding of Microsoft Windows and if you’ve worked in any scripting language it will be helpful. This class is designed to help people who are just getting started in PowerShell understand the do’s and don’ts of language and how to make It useful.


At the conclusion of this class you should be able to write simple scripts and one liners to help automate your daily routine and have the building blocks required to teach yourself more about PowerShell as well as the tools on how to take apart and understand someone else’s script. 


Lab manual and presentations. In this lab, you’ll learn the following:

Module 1 – Introduction to PowerShell

What is PowerShell
What is the origin of PowerShell – the original product name ‘Monad’ and how its come to be what it is now. Discussion on Cmdlets, aliases, modules, profiles, PSDrives and how its become the tool of DevOps for Microsoft. Some example code of various built in Aliases, modules and profiles will be given to students.

The Object Oriented lifestyle
What is an object and how to use the PowerShell Pipeline

Environment Variables
Common environment variables and how they play a role in scripting. Origin and discussion on them. Some example code will be provided showing how to get them and how to use them.

Cmdlet Structure
What is a CMDLET how is it made, and what are its constituent parts.

Psuedo-Code and how to write it
The beginners guide on how to write code. Start by writing what you want to accomplish then
write the steps you’ll need to get there. When in doubt draw a bigger picture.

Navigating the built in Help
In powershell there are really only three – four commands you need to know to figure
everything out. Get-Module, Get-Command, Get-Help , Get=Member.

Execution Policy
Even the best written script can’t run if execution policy doesn’t allow scripts. Security is
always important. Here we’ll also talk about secure strings.

PowerShell Remoting
One of the things that makes PowerShell really powerful is the ability to reach out and touch
another machine. PowerShell does this in a couple of ways and here we will discuss the
different methods to do so and provide some examples. This will be used later in the course.

Stealing with Pride
Two of my co-workers wrote a book about this and there is absolutely no shame to be had in
stealing someone else wheel and making it fit your car. If someone else has already written
the code take there code as an example and use it yourself.

The many editors of PowerShell
Powershell ISE was recently deprecated to that end Viscose is becoming the more popular editor however ISE is still very practical as its on every single machine in the world with PowerShell. Here we will discuss different editors such as VSCode, Notepad ++ and PowerShell ISE. We will also go into the pro’s and cons of each one and develop some custom templates/User Snippits for VSCode that can be taken home with each student.


Module 2 – Data Types And Conditionals

Strings, Integers Arrays, Hash Tables, Objects More
Here we will discuss what various data types and values in PowerShell look like – example code will be provided. We will discuss how Integers can be used – when and if hard coding should be used and the power of a hash - table

If, Elseif, Else, switch?
What are the PowerShell conditional statements? How can we use them to control data flow and control a scripting process. Example code will be provided. Discuss how these are similar to other languages.

Operators – (-ne, -eq, -or, -and more)
How to use the PowerShell operators – some of these will show up in the previous example scripts so here we will talk in depth about how to use them along with -Like and -Match.

Loops and iterating over data
Controlling dataflow is important. When we create a PowerShell script it’s usually because we need to iterate over or repeat a task a number of times. Loops allow us to do this programmatically and to help manage or create PowerShell jobs.

Do while, Do Until
Duration based loops. Do something until its done frequently used when monitoring the status of making a large or time consumptive change.

Error Stream, output stream, verbose stream
How to handle errors, catch exceptions and more. Especially non-terminating errors. This will also lead into how logging is dealt with.

Try, Catch and Finally
Failures and errors are OK to have. Not everything will run perfectly every time. Since we talked about the error stream what do we want a script too in the event of an error?



Jordan BenzingKennari á námskeiðinu er Jordan Benzing, sérfræðingur frá TrueSec Training. Nánari upplýsingara um kennarann má finna HÉR.


Ekki eru lögð fyrir formleg próf í sjálfu námskeiðinu en mikil áhersla er lögð á að leiðbeinandi og þátttakendur fari sem oftast yfir það sem hefur áunnist til að ýta undir stöðugar framfarir.


Sérhannað námsefni frá TrueSec Training. 

Student Lab Manual/Guide – Sample Scripts – some general use helper functions. 


Greiðslukjör: Staðgreiðsla, VISA/MasterCard staðgreiðslulán til allt að 36 mánaða, greiðsla með Netgíró og Pei.
Styrkir: Flest stéttarfélög og fagfélög styrkja félagsmenn sína myndarlega til náms hjá okkur. Kannaðu rétt þinn hjá þínu félagi. Þú getur líka haft samband okkur í síma 519-7550 eða sendu okkur línu á promennt@promennt.is og við aðstoðum þig við að finna út úr hvaða styrkjum þú átt rétt á.
Fjarkennsla í beinni: Við minnum á að þetta námskeið er einnig hægt að taka í fjarkennslu í beinni útsendingu sem þýðir einfaldlega að þú getur tekið þátt í kennslustundinni algjörlega

Vinsamlegast athugið að dagsetningar eru birtar með fyrirvara um að lágmarksþátttaka náist á námskeiðið.


Flokkur Dags. Dagar Tími Verð