Showing archive results for 2011

Mar 15, 2011
Post comments count0
Post likes count0

Use PowerShell to Determine Fragmentation of Your Drive

ScriptingGuy1

Summary: Learn how to use Windows PowerShell to determine the amount of fragmentation of your hard disk drives.   Hey, Scripting Guy! One of the things that annoys me is that the “new” defragmenter program in Windows 7 does not return any information. I guess from a user standpoint, it is OK—and it runs as a service, and tha...

Scripting Guy!Windows PowerShellscripting techniques
Mar 14, 2011
Post comments count0
Post likes count0

Change Drive Letters and Labels via a Simple PowerShell Command

ScriptingGuy1

Summary: Microsoft Scripting Guy, Ed Wilson, shows you how to change drive letters and labels with a simple Windows PowerShell command. Hey, Scripting Guy! First of all, I want to thank you for being cool and for all the neat things you do with the Windows PowerShell community. Second of all, I was reading your blog last week where you were talkin...

Scripting Guy!Windows PowerShellscripting techniques
Mar 13, 2011
Post comments count0
Post likes count0

Get All Methods and Writable Properties from All WMI Classes

ScriptingGuy1

Summary: Use Windows PowerShell to gather all implemented methods and writable properties from all WMI namespaces. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. It is quiet around here on the weekends. At times, it is extremely quiet. I decided to use the time to make some serious changes to my WMI method and property discovery script...

Scripting Guy!Windows PowerShellscripting techniques
Mar 12, 2011
Post comments count0
Post likes count0

Explore WMI Methods and Properties via PowerShell Script

ScriptingGuy1

Summary: Microsoft Scripting Guy, Ed Wilson, illustrates how to explore WMI methods and writable properties from a Windows PowerShell script. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. One of the things I like about Windows PowerShell is the ease in which I can modify things, experiment with things, play with things, and finally e...

Scripting Guy!Windows PowerShellscripting techniques
Mar 11, 2011
Post comments count0
Post likes count0

Use PowerShell to Find Writable WMI Properties

ScriptingGuy1

Summary: Learn how to use Windows PowerShell to find WMI classes that allow you to change property values.   Hey Scripting Guy! I recently saw a Windows PowerShell script that looked like it actually changed the value of a property. I know that Windows PowerShell methods require you to put things in parentheses, and this script did not have an...

Scripting Guy!Windows PowerShellscripting techniques