Skip to content

Commit d8536d0

Browse files
authored
Merge pull request MicrosoftDocs#617 from tseward/patch-303
Update Set-SPEnterpriseSearchPrimaryHostController.md
2 parents ed878bf + ea41866 commit d8536d0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,24 @@ For permissions and the most current information about Windows PowerShell for Sh
2727

2828
### ------------------EXAMPLE 1------------------
2929
```
30-
C:\PS>$ssi = Get-SPEnterpriseSearchServiceInstance -Local
31-
Set-SPEnterpriseSearchPrimaryHostController $ssi
30+
PS C:\>$si = Get-SPEnterpriseSearchServiceInstance -Local
31+
PS C:\>Set-SPEnterpriseSearchPrimaryHostController $si
3232
```
3333

3434
This example sets the local SearchHostController instance as the new primary SearchHostController.
3535
It is up to the user to select the HostController with latest version available.
36+
3637
If you choose a SearchHostController that is not running the latest version of the repository, you will have to confirm before you continue.
3738

3839

3940
### ------------------EXAMPLE 2------------------
4041
```
41-
C:\PS>$ssi = Get-SPEnterpriseSearchServiceInstance -Local
42-
Set-SPEnterpriseSearchPrimaryHostController $ssi -Force
42+
PS C:\>$si = Get-SPEnterpriseSearchServiceInstance -Local
43+
PS C:\>Set-SPEnterpriseSearchPrimaryHostController $si -Force
4344
```
4445

4546
This example sets the local SearchHostController instance as the new primary SearchHostController.
47+
4648
If you choose a SearchHostController that is not running the latest version of the repository, you will not get a confirmation message before you continue.
4749

4850

0 commit comments

Comments
 (0)