Showing archive results for 2014

Sep 29, 2014
Post comments count0
Post likes count0

PowerTip: Find Syntax for Related PowerShell Cmdlets

Doctor Scripto

Summary: Easily find the syntax for related Windows PowerShell cmdlets.  How can I easily find the syntax for related Windows PowerShell cmdlets with the least effort?  Use the Get-Command cmdlet, select the noun, and use the –syntax switch, for example: Get-Command -Noun csv -Syntax

Scripting Guy!Windows PowerShellPowerTip
Sep 29, 2014
Post comments count0
Post likes count0

PowerShell and Active Directory Recycle Bin

Doctor Scripto

Summary: Guest blogger, Alan Kaplan, talks about using Windows PowerShell with the Active Directory Recycle Bin. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blog post written by Alan Kaplan. I met Alan several years ago when the Scripting Wife and Jim Christopher started the Windows PowerShell User Group in Charlotte, North C...

Scripting Guy!Windows PowerShellActive Directory
Sep 28, 2014
Post comments count0
Post likes count0

PowerTip: Display Keys from Hash Table

Doctor Scripto

Summary: Learn how to display keys from a hash table.  How can I display only the keys in a Windows PowerShell hash table?  Store the hash table in a variable, and then use the Keys property, for example: $a = @{a=1;b=2;c=3;d=4} $a.Keys

Scripting Guy!Windows PowerShellPowerTip
Sep 28, 2014
Post comments count0
Post likes count0

Weekend Scripter: Sorting PowerShell Hash Tables

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about sorting hash tables. Microsoft Scripting Guy, Ed Wilson, is here. Today is part of the Scripting Wife’s birthday weekend, and so we are heading out to see the Friesian horse keuring. She has watched the event via live streaming on the Internet, but never attended one in person…so...

Scripting Guy!Windows PowerShellscripting techniques
Sep 27, 2014
Post comments count0
Post likes count0

PowerTip: Find all Format*xml Files Referencing WMI Class

Doctor Scripto

Summary: Find all Format*xml files that contain references to specific WMI class.  I am trying to find why a particular WMI class returns a subset of properties. I suspect output is controlled by an            entry in one of the Format*xml files, so how can I use Windows PowerShell to easily find which file conta...

Scripting Guy!Windows PowerShellPowerTip