header image

W2KSG: Enumerate Disk Drives

Posted by: | August 29, 2008 | No Comment |

I’m skipping Chapter 3 of the guide for now as its all about the Windows Script Host.  Jumping to chapter 4 Listing 4.1 enumerates the disk drives

Script Center Home > Microsoft Windows 2000 Scripting Guide > Scripting Concepts and Technologies for System Administration > Script Runtime Primer > FileSystemObject > Managing Disk Drives  Returning a Collection of Disk Drives

Get-PSDrive

is all we need to use in Powershell

 

Share this post :

 

Technorati Tags:

under: PowerShell original