Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.

Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |

Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to cms-doc@microfocus.com.
Help Topic ID:
Product:
Topic Title:
Feedback:
Miscrosoft SharePoint Discovery Commands
The SharePoint topology is discovered by running the Sharepoint_xml.ps1 script. It contains following functions which provide the relevant information in XML format:

-
Sample Output
-
Modeled CITs: SharePoint Farm
<farm id="4ddfb9c7-754a-4a66-8ee6-7d86613b873c" version="12.0.0.6421"> <hosts> As described for ShowSharePointHostConfig section </hosts> <webServices> As described for ShowSharePointWebConfig section </webServices> </farm>
Attribute |
Value |
---|---|
ID |
4ddfb9c7-754a-4a66-8ee6-7d86613b873c |

-
Sample Output
-
Modeled CITs: IpAddress
-
Modeled CITs: Windows
-
Modeled CITs: Software Element
-
Modeled CITs: SQL Server
-
Modeled CITs: SharePoint Service
<hosts> <host name="ucmdb-11"> <db type="SharedDatabase">Server=ucmdb-11;Database=SharedServices1_DB;Trusted_Connection=yes;App=Windows SharePoint Services;Timeout=15</db> <db type="SPConfigurationDatabase">Server=ucmdb-11;Database=SharePoint_Config;Trusted_Connection=yes;App=Windows SharePoint Services;Timeout=15</db> <service name="Windows SharePoint Services Database"> Databases : NormalizedDataSource : ucmdb-11 ... </service> </host> </hosts>
Attribute |
Value |
---|---|
IP Address |
Resolved IP of ucmdb-11 |
Attribute |
Value |
---|---|
Host key |
'Resolved IP of ucmdb-11' 'IP domain' |
Attribute |
Value |
Comments |
---|---|---|
Container |
Previously described Windows |
|
Name |
Microsoft SharePoint |
|
Vendor |
microsoft_corp |
|
Application version |
12.0.0.6421 |
Taken from the SharePoint Farm version attribute |
Attribute |
Value |
---|---|
Container |
Previously described Windows |
Database Name |
ucmdb-11 |
Vendor |
microsoft_corp |
Attribute |
Value |
---|---|
Container |
Previously described Software Element |
Name |
Windows SharePoint Services Database |
Document Data |
Databases : NormalizedDataSource : ucmdb-11 ... |

-
Sample Output
-
Modeled CITs: Windows
-
Modeled CITs: IIS
-
Modeled CITs: IIS Application Pool
-
Modeled CITs: IIS Web Site
-
Modeled CITs: URL
<webServices> <webService id="c8e64134-0daa-4614-9ed8-257aa653fe9c"> <applicationPool name="SharePoint - 80"> <webApplication name="SharePoint - 80"> <url>http://ddvm-shrpnt/</url> <site>http://ddvm-shrpnt</site> <site>http://ddvm-shrpnt/personal/administrator</site> <site>http://ddvm-shrpnt/ssp/admin</site> </webApplication> </webService> </webServices>
Attribute |
Value |
---|---|
Host key |
'Resolved IP of ddvm-shrpnt' 'IP domain' |
Attribute |
Value |
Comments |
---|---|---|
Container |
Previously described Windows |
|
Name |
Microsoft IIS WebServer |
|
Vendor |
microsoft_corp |
Attribute |
Value |
---|---|
Container |
Previously described IIS |
Name |
SharePoint - 80 |
Vendor |
microsoft_corp |
Attribute |
Value |
---|---|
Container |
Previously described IIS |
Name |
SharePoint - 80 |
Attribute |
Value |
---|---|
Container |
IIS Host (Windows) |
Name |
http://ddvm-shrpnt |

The SharePoint library is loaded using the following command flow:
- [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint");
- $spFarm = [Microsoft.SharePoint.Administration.SPFarm]::Local;
- if(!$spFarm){echo("---CANNOT EXECUTE DISCOVERY---"); exit(1)}
After the last command is executed, the local SharePoint farm is initialized or the message ---CANNOT EXECUTE DISCOVERY--- is displayed.
When SharePoint is discovered by PowerShell, the ShowSharePointHostConfig and ShowSharePointWebConfig commands are called (described in Miscrosoft SharePoint Discovery Commands above). The SharePoint Farm CI is built from executing the following commands:
-
Echo($spFarm.Id.Guid) – discovers the farm ID
-
Echo($spFarm.BuildVersion.ToString()) – discovers the farm version
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to cms-doc@microfocus.com.
Help Topic ID:
Product:
Topic Title:
Feedback: