C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
New-SPEnterpriseSearchTopology Using PowerShell In SharePoint 2013
WhatsApp
Gowtham Rajamanickam
8y
4.2
k
0
0
25
Blog
Steps
Open your SharePoint Management Shell.
Copy the code given below and paste it there.
Run the code given below to delete SharePoint search component.
Code
Syntax
This is the basic syntax given by Microsoft MSDN.
New-SPEnterpriseSearchTopology -SearchApplication <SearchServiceApplicationPipeBind>
[-AssignmentCollection <SPAssignmentCollection>]
[-Clone <SwitchParameter>]
[-Confirm [<SwitchParameter>]]
[-SearchTopology <SearchTopologyPipeBind>]
[-WhatIf [<SwitchParameter>]]
Example
This is the simple code to perform the operations to remove the search component.
Identity -Specifies the identity for a search component
Source code
$SearchServiceApplication = Get-SPEnterpriseSearchServiceApplication
New-SPEnterpriseSearchTopology -SearchApplication $SearchServiceApplication
People also reading
Membership not found