Browsed by
Tag: Select-Object

Pipelines and Objects

Pipelines and Objects

Two strong points of PowerShell are the ability to work with Pipelines and Objects. PowerShell is built on top of .NET and has the ability to work with .NET objects as well as sending and receiving information from the pipeline. Objects To developers, asking them to go from an object based language to one that parses text for input/output would get you laughed at. That is exactly why when Microsoft decided to write a new console and scripting language they…

Read More Read More

Formatting Output

Formatting Output

Formatting output from cmdlets doesn’t have to be complicated. PowerShell ships with cmdlets that can take the output from other cmdlets and display the information in a pretty way. Format-Custom, Format-List, Format-Table, and Format-Wide are the ways to present data at the console. Out-Default Out-Default is a cmdlet you likely have never heard of but rely on whenever you spit an object to the console. Out-Default is the cmdlet that figures out which way to format the information you have…

Read More Read More