Skip to content

Commit 245163b

Browse files
authored
Merge pull request MicrosoftDocs#625 from tseward/patch-311
Update Set-SPEnterpriseSearchServiceInstance.md
2 parents c0fdac4 + 4b56458 commit 245163b

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Set-SPEnterpriseSearchServiceInstance.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Set-SPEnterpriseSearchServiceInstance
99

1010
## SYNOPSIS
11-
{{Fill in the Synopsis}}
11+
Sets the properties of a search service instance.
1212

1313

1414
## SYNTAX
@@ -20,23 +20,26 @@ Set-SPEnterpriseSearchServiceInstance [-Identity] <SearchServiceInstancePipeBind
2020
```
2121

2222
## DESCRIPTION
23-
{{Fill in the Description}}
23+
This cmdlet updates properties of the search service instance for a farm.
24+
25+
For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation at Windows PowerShell for SharePoint Server 2016 reference [http://go.microsoft.com/fwlink/p/?LinkId=671715](http://go.microsoft.com/fwlink/p/?LinkId=671715).
2426

2527

2628
## EXAMPLES
2729

2830
### --------------------EXAMPLE---------------------
2931
```
30-
PS C:\> {{ Add example code here }}
32+
PS C:\>$si = Get-SPEnterpriseSearchServiceInstance -Local
33+
PS C:\>Set-SPEnterpriseSearchServiceInstance -Identity $si -DefaultIndexLocation F:\SearchIndex
3134
```
32-
33-
{{ Add example description here }}
34-
35+
Sets the default index location to F:\SearchIndex.
3536

3637
## PARAMETERS
3738

3839
### -Identity
39-
{{Fill Identity Description}}
40+
Specifies the search service instance to update.
41+
42+
The type must be a valid GUID, in the form 12345678-90ab-cdef-1234-567890bcdefgh; a valid name of a query server (for example, MyQueryServer); or an instance of a valid SearchServiceInstance object.
4043

4144

4245
```yaml
@@ -53,7 +56,9 @@ Accept wildcard characters: False
5356
```
5457
5558
### -AssignmentCollection
56-
{{Fill AssignmentCollection Description}}
59+
Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
60+
61+
When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.
5762
5863
5964
```yaml
@@ -87,7 +92,16 @@ Accept wildcard characters: False
8792
```
8893
8994
### -DefaultIndexLocation
90-
{{Fill DefaultIndexLocation Description}}
95+
> [!NOTE]
96+
> On SharePoint Server 2013 and SharePoint Server 2016 this parameter is obsolete and has no function. You should not use this parameter.
97+
98+
Specifies the default path to use for creating an index of content.
99+
100+
The type must be a valid path in either of the following forms:
101+
102+
- C:\folder_name
103+
104+
- \\\\server_name\folder_name
91105
92106
93107
```yaml

0 commit comments

Comments
 (0)