Scripting Blog [archived]

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

Weekend Scripter: Creating ACLs for Windows Azure Endpoints—Part 1 of 2

Summary: Windows networking engineer, James Kehr, discusses using Windows Azure cmdlets to create endpoint ACLs. Microsoft Scripting Guy, Ed Wilson, is here. This weekend we have a two-part series from guest blogger, James Kehr. It is really cool. Take it away, James… Greetings my fellow netizens. James Kehr here with the Windows ...

PowerTip: List Physical Drives with PowerShell

Summary: Use Windows PowerShell to list physical drives. (image)  How can I use Windows PowerShell to get a list of physical drives? (image)  Use Get-WMIObject, query win32_logicaldisk, and filter with the DriveType property: GET-WMIOBJECT –query “SELECT * from win32_logicaldisk where DriveType = ‘3’” To...