Scenario:
I use some of the stsadm command more often , specially the enumeration related.Just wanted to list them for quick reference
Code:
stsadm -o enumusers -url http://localhost
This command will lists all users that are explicitly assigned to permission levels in this site. So if you have a site administrator or user added through policy setting..they may not be listed. And of-course if you added AD groups ( best practice ) , they will not be expanded.
stsadm.exe -o enumsites -url http://localhost -showlocks
Displays a list of sites that are hosted in a Web application.
stsadm.exe -o enumsubwebs -url http://localhost
Lists the subsites that have been created immediately below a particular site, that means only level 1 sites will be displayed
stsadm -o enumsolutionsLists all the solution (*.wsp) and Web Part packages located in the solution store of the farm.
stsadm -o enumzoneurls -url http://localhostLists all of the public URL and the zones to which they are mapped.
stsadm -o enumalternatedomains -url http://localhostLists the internal URLs and specifies the URL zones and public URLs to which they are mapped.Article:
STSADM Commands
0 comments:
Post a Comment