Dump stsadm output to a txt file from command prompt or batch file

Use this when the output is to long to view in a command prompt or you want to save the file output to review later.
stsadm -o enumsites -url http://TeamSite/ >c:\AllTeamSites.txt 2>&1

Comments

Popular posts from this blog

Metastorm - Open form in an action from a list or link

Corporate Intranet Information Architecture – a Publishing Site

No Search Results in SharePoint Contextual Search OSSSearchResults.aspx