Windows 論理ディスクを検出

Microsoft.Windows.Server.10.0.LogicalDisk.Discovery (Discovery)

このルールは、WMI を使用して、リムーバブル ドライブおよびネットワーク ドライブを除くすべての Windows 論理ディスクを検出します。このルールは、ドライブ文字を割り当てずにマウントされたドライブは検出しません。この種類のドライブには別の検出ルールを使用します。

Knowledge Base article:

概要

この検出ルールは、"Windows Server 2016 の論理ディスク" という名前の Windows Server クラスを検出し、Windows Server 2016 で検出された論理ディスク (たとえば、C:、D:) のインスタンスをこのクラスに入力します。このとき検出されるのはローカル ディスクのみであることに注意してください。リムーバブル、コンパクト ディスク、ネットワーク ドライブ、および RAM ディスクとして分類される論理ディスクは除外されます。

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
EnabledTrue
Frequency86460
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.Windows.Server.10.0.LogicalDiskDiscovery.ModuleType Default

Source Code:

<Discovery ID="Microsoft.Windows.Server.10.0.LogicalDisk.Discovery" Enabled="true" Target="Microsoft.Windows.Server.10.0.OperatingSystem">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Server.10.0.LogicalDisk">
<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="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="FileSystem"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="Compressed"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="Size"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="SizeNumeric"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="SizeInMBs"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="DriveType"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="SupportsDiskQuota"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="QuotasDisabled"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="SupportsFileBasedCompression"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Windows!Microsoft.Windows.ComputerHostsLogicalDevice"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Microsoft.Windows.Server.10.0.LogicalDiskDiscovery.ModuleType">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ComputerID>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<IntervalSeconds>86460</IntervalSeconds>
<TimeoutSeconds>360</TimeoutSeconds>
</DataSource>
</Discovery>