Detectar discos físicos de Windows

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

Esta regla usa WMI para detectar todos los discos físicos de Windows.

Knowledge Base article:

Resumen

Esta regla de detección detecta y rellena la clase de cliente Windows denominada “Disco físico de cliente Windows 2003” con instancias de discos físicos detectados en clientes Windows 2003.

Element properties:

TargetMicrosoft.Windows.Client.Vista.OperatingSystem
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
  • Microsoft.Windows.Client.Vista.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.Vista.PhysicalDiskDiscovery.ModuleType Default

Source Code:

<Discovery ID="Microsoft.Windows.Client.Vista.PhysicalDisk.Discovery" Enabled="true" Target="Microsoft.Windows.Client.Vista.OperatingSystem">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Client.Vista.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.Vista.PhysicalDiskDiscovery.ModuleType">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ComputerID>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<IntervalSeconds>14400</IntervalSeconds>
<TimeoutSeconds>360</TimeoutSeconds>
</DataSource>
</Discovery>