locked
SharePoint server role. RRS feed

  • Question

  • By looking at a server, how to determine if it is an app server or a wfe? Can I do it in powershell?
    shazinus
    Wednesday, August 24, 2011 11:45 PM

Answers

  • To Identify the Server Role, you can follow

    1. Click on Start --> Run --> Regedit

    2. Now navigate to

    For 2007 : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS

    Locate : ServerRole which would help you determine.

    -------------------------

    Application --> Complete Install

    WFE --> Webd Front End  (Search Functionality Not Available)

    SINGLESERVER --> Standalone Installtion or BASIC

     

    PowerShell Script

    ----------------------------

     $farm = get-spfarm
     $farm.Servers | select name, role

     


    Sushant Rao http://blogs.technet.com/sushrao1
    • Proposed as answer by Sushant RaoMicrosoft employee Thursday, August 25, 2011 8:44 PM
    • Unproposed as answer by Mike Walsh FIN Friday, August 26, 2011 8:45 AM
    • Edited by Mike Walsh FIN Friday, August 26, 2011 8:46 AM SP 2010 comment is off-topic in a pre-SP 2010 forum. And do NOT propose your own posts as answers.
    • Marked as answer by Pengyu Zhao Thursday, September 1, 2011 2:29 AM
    Thursday, August 25, 2011 8:16 PM

All replies

  • Hi,

    Login into the Central admin. On the first page itself you will find the services running on all servers in farm and thus in turn roles of the server.

    I hope this will help you out.


    Thanks, Rahul Rashu
    Thursday, August 25, 2011 2:19 AM
  • But these services are not strictly differentiated, are they? My scenario is something like this:

    Suppose I am given a list of all servers in a farm, I have to find out which server is which one. Through powershell I can get the list of all services on each server. But like I said, is such information totally conclusive?

     

    Thanks.


    shazinus
    Thursday, August 25, 2011 4:49 PM
  • Is this actually a SharePoint question?  Rashu has provided the most effective manner of assessing SharePoint server roles.

    If you want generic server information, try googling.  That's too open a question for my liking.


    Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/
    Thursday, August 25, 2011 5:13 PM
    Answerer
  • To Identify the Server Role, you can follow

    1. Click on Start --> Run --> Regedit

    2. Now navigate to

    For 2007 : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS

    Locate : ServerRole which would help you determine.

    -------------------------

    Application --> Complete Install

    WFE --> Webd Front End  (Search Functionality Not Available)

    SINGLESERVER --> Standalone Installtion or BASIC

     

    PowerShell Script

    ----------------------------

     $farm = get-spfarm
     $farm.Servers | select name, role

     


    Sushant Rao http://blogs.technet.com/sushrao1
    • Proposed as answer by Sushant RaoMicrosoft employee Thursday, August 25, 2011 8:44 PM
    • Unproposed as answer by Mike Walsh FIN Friday, August 26, 2011 8:45 AM
    • Edited by Mike Walsh FIN Friday, August 26, 2011 8:46 AM SP 2010 comment is off-topic in a pre-SP 2010 forum. And do NOT propose your own posts as answers.
    • Marked as answer by Pengyu Zhao Thursday, September 1, 2011 2:29 AM
    Thursday, August 25, 2011 8:16 PM