Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell to Convert SDDL to Binary Format

Summary: Learn how to use Windows PowerShell to convert security descriptors to different formats.   Hey, Scripting Guy! I was reading through a listing of WMI methods recently, and I ran across a WMI class that looks interesting—Win32_SecurityDescriptorHelper. I think it will help me, because it seems like every security utility ...

Use Jobs to Run Parallel Queries or Remove Objects from Active Memory

   Summary: Learn how to use jobs to run parallel queries, remove objects from active memory, work with text files and use the Get-Member Cmdlet to go behind the scenes of PowerShell commands in this edition of Quick Hits Friday.   In this Post:   Use Jobs to Run Parallel Queries with Windows PowerShell Hey, ...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (6/18/10)

In this post:   In Windows PowerShell, How Can I Pipe the Contents of a Property to a Command?   Hey, Scripting Guy! I’m working with some Windows PowerShell where the first command results in a collection of objects that have a property Name. I want to take the contents of the Name property and pipe ...

Hey, Scripting Guy! Weekend Scripter: Using the Get-ACL Cmdlet to Show Inherited Permissions on Registry Keys

  Microsoft Scripting Guy Ed Wilson here. I was sitting in the kitchen waiting for my pot of English Breakfast tea to steep when my mind began to wander back over the week that was nearly completed. One of these days I will write a script to count the number of words in all the documents in a folder. That suggestion is actually up on the...

Hey, Scripting Guy! How Can I Grant Administrator Rights to Folders and Then Delete Them?

Hey Scripting Guy! Our previous network administrator was a slouch. He did not maintain proper backups, never reviewed event logs, and never cleaned up user folders when he deleted users in Active Directory. This last omission is particularly egregious because it has taken a lot of cleanup work to find and delete the user folders. One of the...

Feedback usabilla icon