locked
STSADM Command Line Interface RRS feed

  • Question

  • Will the STSADM command line interface be continued in SharePoint 2010 and have improvements been made in this area to ease administration tasks?
    Tuesday, October 20, 2009 2:49 PM

Answers

  • Windows PowerShell™ is a new command-line tool and a supporting scripting language from Microsoft that complements Cmd.exe in the Windows administration context and that supersedes the Stsadm.exe administration tool. Although both Cmd.exe and Stsadm.exe will be maintained for backward compatibility, all current and future development of scripts and administrative files in SharePoint Foundation should use this new scripting technology

    http://msdn.microsoft.com/en-us/library/ee534955(office.14).aspx

    • Proposed as answer by Ravi Vajaria Tuesday, October 20, 2009 3:21 PM
    • Marked as answer by Craig31 Thursday, October 22, 2009 8:55 AM
    Tuesday, October 20, 2009 3:21 PM

All replies

  • Windows PowerShell™ is a new command-line tool and a supporting scripting language from Microsoft that complements Cmd.exe in the Windows administration context and that supersedes the Stsadm.exe administration tool. Although both Cmd.exe and Stsadm.exe will be maintained for backward compatibility, all current and future development of scripts and administrative files in SharePoint Foundation should use this new scripting technology

    http://msdn.microsoft.com/en-us/library/ee534955(office.14).aspx

    • Proposed as answer by Ravi Vajaria Tuesday, October 20, 2009 3:21 PM
    • Marked as answer by Craig31 Thursday, October 22, 2009 8:55 AM
    Tuesday, October 20, 2009 3:21 PM
  • yep, stsadm hasn't been changed significantly - the same command line, but how was noted by others, the tendency is towards PowerShell scripts, which again represented as a command line :)
    so no much changes, from command line perspective.
    Either Centeral Admin or command line
    SharePoint Tips & Tricks Portal | Microsoft MVP | My Blog | My twitter
    Tuesday, October 20, 2009 9:21 PM
  • Will the STSADM command line interface be continued in SharePoint 2010 and have improvements been made in this area to ease administration tasks?

    STSADM is still there and you could still make use of it to do some stuff, like enabling/disabling developer dashboard.

    But, there are also 523 new PowerShell Cmdlets! [ YaY! :) ]
    Regards,
    Chakkaradeep
    SharePoint Developer - MCTS SharePoint Dev, WSS Dev

    Intergen: http://www.intergen.co.nz
    Twitter: http://twitter.com/chakkaradeep
    Blog: http://www.chakkaradeep.com
    Tuesday, October 20, 2009 10:10 PM
  • Will the STSADM command line interface be continued in SharePoint 2010 and have improvements been made in this area to ease administration tasks?

    STSADM is still there and you could still make use of it to do some stuff, like enabling/disabling developer dashboard.

    But, there are also 523 new PowerShell Cmdlets! [ YaY! :) ]
    Just to updated some points that were previously said.  Microsoft recommends that you use Windows PowerShell to perform bulk administrative tasks. The Stsadm command-line tool is included to support compatibility across product versions.

    And, to date there are over 640 Windows PowerShell cmdlets for SharePoint 2010 Products.

    Regards,

    Kirk Stark (MSFT), MCSE, MCSA, MCTS (SharePoint Services 3.0 and SharePoint Server 2007)
    Technical Writer, Windows PowerShell for SharePoint 2010 Products

    Tuesday, October 27, 2009 11:10 PM