Skip to content

Commit 489af25

Browse files
authored
Merge pull request MicrosoftDocs#7949 from get-itips/patch-362
Adding example
2 parents b18275e + 29b4965 commit 489af25

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

sharepoint/sharepoint-ps/sharepoint-server/New-SPEnterpriseSearchServiceApplication.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ For permissions and the most current information about Windows PowerShell for Sh
3737

3838
## EXAMPLES
3939

40-
### ------------------EXAMPLE------------------
40+
### ------------------EXAMPLE 1------------------
4141
```
4242
$appPool = New-SPServiceApplicationPool -Name 'SharePoint Web Services Default' -Account 'CONTOSO\ServiceApps'
4343
New-SPEnterpriseSearchServiceApplication -Name "Search Service Application" -ApplicationPool $appPool
@@ -47,6 +47,15 @@ This example creates a new search service application named NewSSA in a new appl
4747

4848
A search service application that is created in this manner will have active search topology, but no search components.
4949

50+
### ------------------EXAMPLE 2------------------
51+
```
52+
$appPool = New-SPServiceApplicationPool -Name 'SharePoint Web Services Default' -Account 'CONTOSO\ServiceApps'
53+
New-SPEnterpriseSearchServiceApplication -Name "Search Service Application" -ApplicationPool $appPool -DatabaseName SearchServiceAppDB
54+
```
55+
56+
This example creates a new search service application named NewSSA in a new application pool and specifies the name of the Database.
57+
58+
A search service application that is created in this manner will have active search topology, but no search components.
5059

5160
## PARAMETERS
5261

0 commit comments

Comments
 (0)