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
stsadm -o enumsites -url http://TeamSite/ >c:\AllTeamSites.txt 2>&1
Comments
Post a Comment