The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
I wanted to make you aware of some changes we’re making to the Scripting node in the Microsoft TechNet Library.
Summary
The Scripting node in the TechNet Library has been renamed Scripting with Windows PowerShell, and will contain Windows PowerShell language documentation and cmdlet help for multiple Microsoft products.
Details
...
Summary: Use Windows PowerShell to build scripts to automate DiskPart.
(image) Hey, Scripting Guy! Can we use Windows PowerShell to return information from DiskPart as an object?
—SH
(image) Hello SH,
Honorary Scripting Guy, Sean Kearney, here. I’m filling in for our good friend, Ed Wilson. He’s got tie’s ...
Summary: Use Windows PowerShell to get a list of all volume drive letters and free space available.
(image) How can I use Windows PowerShell to list all the drive letters and free space available?
(image) Use Get-WMIObject and query win32_logicaldisk to show all drive letters including network ...
Summary: Honorary Scripting Guy, Sean Kearney, continues his series about using Windows PowerShell to build scripts to automate DiskPart.
(image) Hey, Scripting Guy! I saw yesterday how you could pull information from DISKPART with Windows PowerShell. I noticed the size of the disks was shown in GB or MB. Is there any way to convert that...
Summary: Use Windows PowerShell to show attached USB drives.
(image) Is there an easy way with Windows PowerShell to show all drives that are connected via USB?
(image) Use Get-WMIObject and query win32_diskdrive:
GET-WMIOBJECT win32_diskdrive | Where { $_.InterfaceType –eq ‘USB’ }
Or...
Write this as a query and pass ...