I wanted to make you aware of some changes we’re making to the Scripting node in the Microsoft TechNet Library. SummaryThe 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. Hey, Scripting Guy! Can we use Windows PowerShell to return information from DiskPart as an object?—SH Hello SH,Honorary Scripting Guy, Sean Kearney, here. I’m filling in for our good friend, Ed Wilson. He’s got tie’s everywhere! Ties ...
Summary: Use Windows PowerShell to get a list of all volume drive letters and free space available. How can I use Windows PowerShell to list all the drive letters and free space available? Use Get-WMIObject and query win32_logicaldisk to show all drive letters including network drives and CD ROMs...
Summary: Honorary Scripting Guy, Sean Kearney, continues his series about using Windows PowerShell to build scripts to automate DiskPart. 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 to tell...
Summary: Use Windows PowerShell to show attached USB drives. Is there an easy way with Windows PowerShell to show all drives that are connected via USB?Use Get-WMIObject and query win32_diskdrive:GET-WMIOBJECT win32_diskdrive | Where { $_.InterfaceType –eq ‘USB’ }Or...Write this as a query and pass it directly to ...