I did see this code listed in the manual but this code already exists in the script.
Code:
  
$WMI = GetObject("winmgmts:\\" + @WKSTA + "\root\cimv2")
$HardDrives = $WMI.ExecQuery("Select * From Win32_LogicalDisk Where DriveType=3")
For Each $Drive in $HardDrives


Can I have this in the script twice withour causing any errors?