Discovery For SharePoint Installed Machine

Microsoft.SharePoint.2019.MOSSInstallation.Discovery (Discovery)

This discovers the machines with SharePoint installed.

Knowledge Base article:

Summary

This Discovery Rule discovers the machines with SharePoint installed. Discovery scripts in this management pack won't be triggered until this discovery completes successfully.

Please refer to the MP Guide for more information.

Element properties:

TargetMicrosoft.Windows.OperatingSystem
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.SharePoint.Library.SPSeed.DiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.SharePoint.2019.MOSSInstallation.Discovery" Target="Windows!Microsoft.Windows.OperatingSystem" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SharePoint.2019.MOSSInstallation">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="MOSS!Microsoft.SharePoint.Library.SPSeed.DiscoveryProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<ClassId>$MPElement[Name="Microsoft.SharePoint.2019.MOSSInstallation"]$</ClassId>
<RegistryKey>Software\Microsoft\Windows\CurrentVersion\Uninstall\Office16.OSERVER</RegistryKey>
<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="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Host/Property[Type="System!System.Entity"]/DisplayName$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>