Windows 7 Aggregate Logical Disk Discovery
Microsoft.Windows.Client.Win7.Aggregate.LogicalDisk.Discovery (Discovery)
The workflow discovers the Windows 7 Aggregate Logical Disk
Knowledge Base article:
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.Windows.Client.Win7.Aggregate.LogicalDisk.Discovery" Enabled="true" Target="Win7!Microsoft.Windows.Client.Win7.LogicalDisk">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Client.Win7.Aggregate.LogicalDisk">
<Property TypeID="Microsoft.Windows.Client.Win7.Aggregate.LogicalDisk" PropertyID="FreeSpace"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" RunAs="System!System.PrivilegedMonitoringAccount" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$\root\cimv2</NameSpace>
<Query>SELECT FreeSpace FROM Win32_LogicalDisk WHERE DeviceID='$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$'</Query>
<Frequency>604800</Frequency>
<ClassId>$MPElement[Name="Microsoft.Windows.Client.Win7.Aggregate.LogicalDisk"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.Windows.Client.Win7.Aggregate.LogicalDisk"]/FreeSpace$</Name>
<Value>$Data/Property[@Name='FreeSpace']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>