Monthly Archive

Categories

W2KSG: Enumerate Disk Drives

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: PowerShell

Leave a Reply