Announcement

Collapse
No announcement yet.

How to enable windows search service programmatically

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to enable windows search service programmatically

    Hi,

    I am using Windows server 2k8 R2 and have known how to enable windows search service manually, which is:
    1. Start Server Manager
    2. Click on Roles in the left navigation pane
    3. Select Add Role in the Roles Summary pane to the right
    4. Select the File Services role and click Next
    5. Select the Windows Search role service
    6. Finish the wizard.
    How can I do this programmatically using scripting or managed code?

    Appreciate any hints.


    Thanks
    Leon

  • #2
    Re: How to enable windows search service programmatically

    I found this great link:

    http://blogs.msdn.com/powershell/archive/2009/01/27/managing-server-features-with-powershell-cmdlets-on-windows-2008-server-r2-beta.aspx

    Comment

    Working...
    X