SharePoint Farm Discovery

Microsoft.SharePoint.Foundation.2010.SPFarm.Discovery (Discovery)

This discovers SharePoint farms and servers information.

Knowledge Base article:

Summary

This Discovery Rule discovers SharePoint farms and servers information. The discovered objects from this script also includes configuration database and unidentified machines.

Please refer to the MP Guide for more information.

Element properties:

TargetMicrosoft.SharePoint.Foundation.2010.WSSInstallation
EnabledTrue
Frequency28800
RemotableFalse

Object Discovery Details:

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

Member Modules:

ID Module Type TypeId RunAs 
WSS.14.DiscoveryDataSource DataSource Microsoft.SharePoint.Foundation.2010.SPFarm.DiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.SharePoint.Foundation.2010.SPFarm.Discovery" Enabled="true" Target="Microsoft.SharePoint.Foundation.2010.WSSInstallation" ConfirmDelivery="false" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SharePoint.Foundation.2010.SPFarm">
<Property PropertyID="DisplayName" TypeID="System!System.Entity"/>
<Property PropertyID="FarmID"/>
<Property PropertyID="FarmName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SharePoint.Foundation.2010.Unidentified.SPMachine">
<Property PropertyID="PrincipalName" TypeID="Windows!Microsoft.Windows.Computer"/>
<Property PropertyID="DisplayName" TypeID="System!System.Entity"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SharePoint.Foundation.2010.SPConfiguration">
<Property PropertyID="DisplayName" TypeID="System!System.Entity"/>
<Property PropertyID="FarmID" TypeID="Microsoft.SharePoint.Foundation.2010.SPDatabase"/>
<Property PropertyID="DatabaseID" TypeID="Microsoft.SharePoint.Foundation.2010.SPDatabase"/>
<Property PropertyID="ConnectionString" TypeID="Microsoft.SharePoint.Foundation.2010.SPDatabase"/>
<Property PropertyID="Server"/>
<Property PropertyID="Database"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SharePoint.Foundation.2010.SPServerGroup">
<Property PropertyID="DisplayName" TypeID="System!System.Entity"/>
<Property PropertyID="FarmID"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SharePoint.Foundation.2010.SPServer">
<Property PropertyID="PrincipalName" TypeID="Windows!Microsoft.Windows.Computer"/>
<Property PropertyID="DisplayName" TypeID="System!System.Entity"/>
<Property PropertyID="ComputerID"/>
<Property PropertyID="FarmID"/>
<Property PropertyID="SPRole"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SharePoint.Foundation.2010.SPServiceGroup">
<Property PropertyID="DisplayName" TypeID="System!System.Entity"/>
<Property PropertyID="FarmID"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SharePoint.Foundation.2010.SPWebApplicationGroup">
<Property PropertyID="DisplayName" TypeID="System!System.Entity"/>
<Property PropertyID="FarmID"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SharePoint.Foundation.2010.SPSharedServiceGroup">
<Property PropertyID="DisplayName" TypeID="System!System.Entity"/>
<Property PropertyID="FarmID"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Microsoft.SharePoint.Foundation.2010.Unidentified.Contains.SPMachine"/>
<DiscoveryRelationship TypeID="Microsoft.SharePoint.Foundation.2010.SPFarm.Contains.SPConfiguration"/>
<DiscoveryRelationship TypeID="Microsoft.SharePoint.Foundation.2010.SPFarm.Contains.SPServerGroup"/>
<DiscoveryRelationship TypeID="Microsoft.SharePoint.Foundation.2010.SPFarm.Contains.SPServiceGroup"/>
<DiscoveryRelationship TypeID="Microsoft.SharePoint.Foundation.2010.SPFarm.Contains.SPWebApplicationGroup"/>
<DiscoveryRelationship TypeID="Microsoft.SharePoint.Foundation.2010.SPFarm.Contains.SPSharedServiceGroup"/>
<DiscoveryRelationship TypeID="Microsoft.SharePoint.Foundation.2010.SPFarm.Contains.SPHARuleGroup"/>
<DiscoveryRelationship TypeID="Microsoft.SharePoint.Foundation.2010.SPHARuleGroup.Contains.SPHARuleSubGroup"/>
<DiscoveryRelationship TypeID="Microsoft.SharePoint.Foundation.2010.SPServerGroup.Contains.SPServer"/>
</DiscoveryTypes>
<DataSource ID="WSS.14.DiscoveryDataSource" TypeID="Microsoft.SharePoint.Foundation.2010.SPFarm.DiscoveryProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<IntervalSeconds>28800</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<DebugTrace>false</DebugTrace>
</DataSource>
</Discovery>