If you give a man a fish he will eat for a day, if you teach him how to fish he will eat for a lifetime. Learning how to help yourself in PowerSheill is one the key ways to learn the language and avoid errors. In this video we will take a look at how PowerShell provides a fantastic help system at your fingertips.
- [Voiceover] Now before you start going down the road…and running your first PowerShell commandlets,…I want to spend just this video and show you how…to use Help and have the built-in…Help system that comes with PowerShell.…PowerShell has a rich and robust help system…that's actually at your fingertips…as you're working with your PowerShell commandlets.…One of those great things my dad always used to tell me is,…You give a man a fish, he eats for a day,…but if you teach him to fish, he'll eat for a lifetime.…And that's how I look at Help inside of PowerShell.…So I'm gonna go ahead and bring up…a PowerShell session and take a look at it.…
Now I'm actually gonna bring it up as an administrator.…To do that, simply right click on your PowerShell icon…and say Run As Administrator.…You're gonna get your user account control coming up…saying, yes, that's what I want to do,…and now I'm in an administrative session of PowerShell.…Now I'm just gonna move to the root directory of my C…drive and I'm just gonna clean the screen up a little bit…
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.
- Identify the purpose of a delimiter.
- Recognize the tools needed to build a command using the ISE.
- Identify the options to use when running Get-Service from a remote computer.
- Recognize the capabilities of four cmdlets.
- Explain how to transfer aliases from a file into PowerShell.
- Determine if a cmdlet will generate an error when executed.