Outputting data to the command prompt or to text files is a usefull skill in PowerShell. However, when you want to take a quick look at a particular PowerShell object you will want to learn the Out-Gridview cmdlet. In this video we will tak a look at how the gridview can you help look at data fast and easily
- [Voiceover] So one of the great things that we have…inside of Powershell is actually a thing called Grid View,…and what Grid View allows us to do is actually…output our data to a GUI environment…where we can work with it a little bit easier,…especially when you're looking just to manipulate…some data and get a quick peek at what's going on…in a particular server,…or what's happening within a particular commandlet,…Grid View might offer you a great alternative…than instead of trying to figure out…how to output it out to a file or a different table…and that kinda stuff.…So, let me go ahead and just run get-service,…with the piping into the out-Grid View…and let me show you what this looks like.…
So, if you look inside of this get-service,…I actually have the ability…to see what's here and work with it.…So, if I zoom in, you get a general idea,…just an Explorer window,…but I can work with any of these columns,…so, if just wanna do a quick sort on status,…or name or display name, just some quick clicks,…I can organize that data the way I want to.…
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.