Showing archive results for 2014

Dec 19, 2014
Post comments count0
Post likes count0

Access Objects Inside Other Objects in PowerShell Pipeline

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about accessing objects inside other objects in the Windows PowerShell pipeline.  Hey, Scripting Guy! Yesterday in Create Custom PowerShell Objects, you talked about writing a script to access embedded objects. That seems like a lot of trouble. Is there a better or easier way to do that, for e...

Scripting Guy!Windows PowerShellscripting techniques
Dec 18, 2014
Post comments count0
Post likes count0

PowerTip: Create Custom PowerShell Objects

Doctor Scripto

Summary: Learn about the easiest way to create a custom Windows PowerShell object.  How can I easily create a custom object that contains only a few of the existing properties of a            Windows PowerShell cmdlet?  Use the Select-Object cmdlet in the pipeline and choose the properties you want ...

Scripting Guy!Windows PowerShellPowerTip
Dec 18, 2014
Post comments count0
Post likes count0

Create Custom PowerShell Objects

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about creating custom objects via Windows PowerShell.  Hey, Scripting Guy! Yesterday in Understand Embedded Objects in PowerShell, you said the easy way to expand a Windows PowerShell object was to use the –ExpandProperty parameter from the Select-Object cmdlet. That works OK, but I cann...

Scripting Guy!Windows PowerShellscripting techniques
Dec 17, 2014
Post comments count0
Post likes count0

PowerTip: Expand Objects in PowerShell

Doctor Scripto

Summary: Learn how to easily expand objects in Windows PowerShell.  How can I expand an object that was returned by my Windows PowerShell expression?  Use the –ExpandProperty parameter from Select-Object to expand objects in Windows PowerShell.            This example expands the Sys...

Scripting Guy!Windows PowerShellPowerTip
Dec 17, 2014
Post comments count0
Post likes count0

Understand Embedded Objects in PowerShell

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about understanding embedded objects in Windows PowerShell.  Hey, Scripting Guy! I don’t get it. Some things in Windows PowerShell are so easy, and others are so complicated. It seems to go from ridiculously easy to ridiculously hard all at once. Take for instance, the Get-Process cmdlet...

Scripting Guy!Windows PowerShellscripting techniques