Scenario: You use mountpoints in your Exchange organization and you want to check for specific disk information for your mountpoints by database name. Note: The label of the mountpoint reflects the database name.
Script:
#Enter the DB Variable $Db = "DB01" #Script $Servers = Get-mailboxdatabasecopystatus $DB | Select -ExpandProperty MailboxServer $1 = @() $Servers | %{ "Checking on $_ for $Db" $1+= Invoke-Command -Computer $_ -argumentlist $db -ScriptBlock {Get-WmiObject win32_volume | Where label -like $args[0] | Select Name, Label, FreeSpace, FileSystem, SerialNumber} } #ViewResults $1