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 |
|
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
<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>
Modeled CITs: SharePoint Farm
Attribute |
Value |
---|---|
ID |
4ddfb9c7-754a-4a66-8ee6-7d86613b873c |
-
Sample Output
<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>
Modeled CITs: IpAddress
Attribute |
Value |
---|---|
IP Address |
Resolved IP of ucmdb-11 |
Modeled CITs: Windows
Attribute |
Value |
---|---|
Host key |
'Resolved IP of ucmdb-11' 'IP domain' |
Modeled CITs: Software Element
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 |
Modeled CITs: SQL Server
Attribute |
Value |
---|---|
Container |
Previously described Windows |
Database Name |
ucmdb-11 |
Vendor |
microsoft_corp |
Modeled CITs: SharePoint Service
Attribute |
Value |
---|---|
Container |
Previously described Software Element |
Name |
Windows SharePoint Services Database |
Document Data |
Databases : NormalizedDataSource : ucmdb-11 ... |
-
Sample Output
<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>
Modeled CITs: Windows
Attribute |
Value |
---|---|
Host key |
'Resolved IP of ddvm-shrpnt' 'IP domain' |
Modeled CITs: IIS
Attribute |
Value |
Comments |
---|---|---|
Container |
Previously described Windows |
|
Name |
Microsoft IIS WebServer |
|
Vendor |
microsoft_corp |
Modeled CITs: IIS Application Pool
Attribute |
Value |
---|---|
Container |
Previously described IIS |
Name |
SharePoint - 80 |
Vendor |
microsoft_corp |
Modeled CITs: IIS Web Site
Attribute |
Value |
---|---|
Container |
Previously described IIS |
Name |
SharePoint - 80 |
Modeled CITs: URL
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