Writing PowerShell Scripts – quiz with 20 questions
From cmdlets and the object pipeline through variables, hashtables, and comparison operators to advanced functions, error handling, -WhatIf, remoting, and secure handling of passwords.
Questions
20
Level
Intermediate
Area
IT & Cloud · Linux & DevOps
Modules
Cmdlets & Pipeline
Variablen & Ablauf
Funktionen & Fehler
Sicherheit & Praxis
Sample question
Nach welchem Muster sind PowerShell-Cmdlets benannt?
Nomen-Verb, etwa Process-Get
Ein Buchstabe pro Befehl
Verb-Nomen, etwa Get-Process
Kleinbuchstaben mit Unterstrich
Correct: Verb-Nomen, etwa Get-Process. Die Verben sind standardisiert (Get, Set, New, Remove …), Get-Verb listet sie auf. So lässt sich ein unbekannter Befehl oft erraten.
More questions from the quiz
Was unterscheidet die PowerShell-Pipeline grundlegend von der Bash-Pipeline?
Wie findest du heraus, welche Eigenschaften und Methoden die Objekte von Get-Service haben?
Welcher Befehl zeigt Anwendungsbeispiele zu Get-ChildItem?
Womit beginnen Variablennamen in PowerShell?
The questions and explanations are in German – checked by experts, not machine-translated.
After every answer, Quizbot explains why it is right or wrong. Open questions come first, and progress is counted per topic. The quiz is free of charge; no account is needed.