Scripting Blog

A place to learn about PowerShell and share stories of automation

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.   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?  Use the Get-Item cmdlet, specify the path for the ...

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). Justin ...

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.  How can I tell which of my virtual machines are running with dynamic memory ?  Use the Get-VMMemory cmdlet: GET-VMMemory -vmname "My Virtual Machine" (Check the results for "DynamicMemoryEnabled" as "True.") To check all ...

Feedback usabilla icon