Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Retrieving Specific Items from Hash Table

Summary: Retrieve specific items from a Windows PowerShell hash table. (image)  How can I use Windows PowerShell t retrieve specific values associated with specific keys in a hash table? (image)  Suppose you have a hash table such as this: $d = @{a=28;b=29;c=30} The keys and values associated with the hash table are: PS C:> $d &...

Use PowerShell to Create Ordered Dictionary

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create an ordered dictionary. Microsoft Scripting Guy, Ed Wilson, is here. One of the really cool things that was introduced in Windows PowerShell 3.0, is that I can create an ordered dictionary. Basically, an ordered dictionary works like a Windows ...

PowerShell and Active Directory Recycle Bin

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, ...