PowerShell for Windows Admins:

Disks


January 17, 2010  5:44 AM

Mapping Physical drives to logical drives part 2



Posted by: Richard Siddaway
Disks

 

We have seen how to get physical disk information and how to get the associations between WMI classes.  We’ll now start to put this together.

  Bookmark and Share     0 Comments     RSS Feed     Email a friend

January 15, 2010  3:49 PM

Mapping physical disks to logical drives



Posted by: Richard Siddaway
Disks

We have looked at physical disks and logical disks. We know there is a relationship between them.

disk drive – partition – logical disk

In WMI this maps to.

Win32_DiskDrive - Win32_DiskPartition - Win32_LogicalDisk.DeviceID

We have two classes that provide the...


January 12, 2010  2:41 AM

Disks Part 4: Mount points



Posted by: Richard Siddaway
Disks

We have seen how to discover our physical and logical disks.  In a quick digression I want to cover Mount Points.  These allow us to mount the volume into an empty folder in the file system rather than having a new drive. They are useful when we have lots of volumes and need to...


January 8, 2010  1:44 PM

Disks Part 3



Posted by: Richard Siddaway
Disks

 

We have seen how to use Win32_DiskDrive to look at our physical disks but this isn’t the whole story. We also need to consider logical disks or volumes

  Bookmark and Share     0 Comments     RSS Feed     Email a friend


January 5, 2010  1:58 PM

Disks Part 2



Posted by: Richard Siddaway
Disks

 

Moving swiftly on from last time we can expand the information returned on our disks


January 3, 2010  8:36 AM

Disks Part 1



Posted by: Richard Siddaway
Disks

Disk storage and everything associated with that is a big part of administering our servers. We need to be able to discover, and where necessary, work with the storage system. WMI gives us a number of classes for working with disks

PS> Get-WmiObject -List Win32_*disk* | select name...