What are the two parts of PowerShell
The command shell and a scripting language
How does PowerShell work?
It uses cmdlets to run tasks on objects
Why use a CLI for PowerShell?
It’s faster. We’re able to batch commands, and store and run scripts
What does PowerShell use for input/output?
Objects
What features does PowerShell share with a traditional command shell?
It uses familiar command aliases (abbreviations like CLS for Clear Screen), it allows you to pipe the output of one command as the input for the next command, and it has a built-in help feature
What features differentiate PowerShell from traditional command shells?
It operates on objects over text, meaning we don’t have to format the output from one command in a certain way for it to work as input for the next command; it uses many types of commands and functions; it uses cmdlets to work on tasks
What language are cmdlets developed in?
.NET or .NET Core
What is the syntax of a cmdlet?
Verb - Noun
What cmdlet will list all cmdlets?
Get-Command
How do you filter the output of a cmdlet?
With a flag