locked
STSADM command to get list of all databases in a farm in SharePoint 2007 RRS feed

  • Question

  • Hello,

    do anyone know about 

    STSADM command to get list of all databases in a farm in SharePoint 2007?


    chirag

    Monday, January 27, 2014 11:50 PM

Answers

  • You can call

    stsadm -o enumzoneurls
    stsadm -o enumalternatedomains

    to get the full list of URLs in the farm, then for each URL you can call:

    stsadm.exe -o enumcontentdbs -url <URL name>


    Please mark my reply as helpful (the up arrow) if it was useful to you and please mark it an answer (the check box) if it answered your question! Thank you!


    Danny Jessee | MCPD - SharePoint Developer 2010 | MCTS - SharePoint 2010, Configuring
    Blog: http://dannyjessee.com/blog | Twitter: @dannyjessee

    Tuesday, January 28, 2014 12:08 AM