Scripting Blog [archived]

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

Weekend Scripter: Find Errant ACLs Inside a Folder with PowerShell

Summary: Microsoft Scripting Guy, Ed Wilson talks about using Windows PowerShell to find errant access control lists on files inside a folder. Microsoft Scripting Guy, Ed Wilson, is here. I have a long flight ahead of me today. The Scripting Wife and I are crossing the Atlantic Ocean to Charlotte, North Carolina in the United States as we ...

PowerTip: Use PowerShell 3.0 to Identify Zone Information of Files

Summary: Learn how to use Windows PowerShell 3.0 to identify the zone information of files in a folder. (image)   How can I use Windows PowerShell 3.0 to see which files in a folder have a Zone.Identifier alternate data stream so I can find files that came from the Internet? (image)  Use the Get-Item cmdlet, specify ...

Weekend Scripter: Understanding TimeSpan Objects

Summary: Guest bloggers, June Blender and Justin Hall, investigate strange behavior with TimeSpan objects in the Search-ADAccount cmdlet. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a blog written by two guests: June Blender and Justin Hall. First, a little bit about Justin (June is already well known to our readers). (image) ...

PowerTip: Use PowerShell to Find Virtual Machines Using Dynamic Memory

Summary: Use Windows PowerShell to find which virtual machines on Hyper-V is using dynamic memory. (image)  How can I tell which of my virtual machines are running with dynamic memory ? (image)  Use the Get-VMMemory cmdlet: GET-VMMemory -vmname "My Virtual Machine" (Check the results for "DynamicMemoryEnabled" as "True.") ...