PowerShell is a language like any other languages. Knowing the basic constucts of the PowerShell language is a great way to start learning PowerShell. In this video we will take a look at how to read a PowerShell cmdlet. You will understand how PowerShell mirrors any other language.
- [Voiceover] Now I know you're probably pretty excited…to actually start writing your first PowerShell command…and actually get involved with the language,…but before we go any further in this course,…you're gonna want to know the basics…on how to read the PowerShell language.…How to actually start by working with it.…So let's take a look at a quick example…called get-service dash name net.…Now the great thing about PowerShell,…it's a natural language.…So you can use natural language…to talk and interact with it.…So as you probably figured out that this commandlet…is gonna find out all the name…of the services with net inside of it.…
And you'd be right.…But when you start breaking this down…to its core components,…it's much like the English language.…We have our verbs which are things like get,…stop, start.…So if I were to put something in there stop dash service,…you would tell that hey, that's gonna stop the services.…The verbs across PowerShell are fairly generic.…Almost all the commands that we have inside of it…
Matt then dives into PowerShell's functions and What If statements, working with output, and coding in the Integrated Scripting Environment (ISE). The course wraps up with some tips on using PowerShell for both on-premises and cloud deployments involving Office 365 and Azure.
- Reading the language
- Discovering cmdlets and aliases
- Using PowerShell functions
- Working with output
- Finding and installing modules
- Using PowerShell with Office 365 and Azure