Discover Windows Physical Disks

Microsoft.Windows.Client.2000.PhysicalDisk.Discovery (Discovery)

This rule uses WMI to discover all Windows physical disks.

Knowledge Base article:

Summary

This Discovery Rule discovers and populates the Windows 2000 class named “Windows 2000 Physical Disk” with instances of Physical Disks that are discovered on Windows 2000.

Element properties:

TargetMicrosoft.Windows.Client.2000.Computer
EnabledFalse
Frequency3600
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
  • Microsoft.Windows.Client.2000.PhysicalDisk
    • DisplayName
    • DeviceID
    • Name
    • Description
    • Caption
    • Index
    • InterfaceType
    • Manufacturer
    • Model
    • SCSIBus
    • SCSILogicalUnit
    • SCSIPort
    • SCSITargetID
    • Size
    • TotalCylinders
    • TotalHeads
    • TotalSectors
    • TotalTracks
    • TracksPerCylinder
    • PerfmonInstance
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.Windows.Client.2000.PhysicalDiskDiscovery.ModuleType Default

Source Code:

<Discovery ID="Microsoft.Windows.Client.2000.PhysicalDisk.Discovery" Enabled="false" Target="Microsoft.Windows.Client.2000.Computer">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Client.2000.PhysicalDisk">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="DeviceID"/>
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="Name"/>
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="Description"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="Caption"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="Index"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="InterfaceType"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="Manufacturer"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="Model"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="SCSIBus"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="SCSILogicalUnit"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="SCSIPort"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="SCSITargetID"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="Size"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="TotalCylinders"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="TotalHeads"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="TotalSectors"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="TotalTracks"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="TracksPerCylinder"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.PhysicalDisk" PropertyID="PerfmonInstance"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Windows!Microsoft.Windows.ComputerHostsLogicalDevice"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Microsoft.Windows.Client.2000.PhysicalDiskDiscovery.ModuleType">
<Computer>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Computer>
<IntervalSeconds>3600</IntervalSeconds>
<TimeoutSeconds>360</TimeoutSeconds>
</DataSource>
</Discovery>