Showing posts with label stsadm. Show all posts
Showing posts with label stsadm. Show all posts

Saturday, 23 March 2013

Batch file: STSADM backup for MOSS


@SET stsadm="c:\program files\common files\microsoft shared\web server extensions\12\bin\stsadm.exe"
@SET DIR=D:\Backups\
@SET Log=D:\Backups\Backup_VSSR.txt

Echo Backing up- VSSR>>%LOG%
%stsadm% -o backup -url "http://servername/" -filename "%DIR%VSSR.bak" -backupthreads 5 >>%LOG%
time /t >>%LOG%

Pause

รจ Save as .bat

Configure PeoplePicker to search within only an AD group


A way of configuring PeoplePicker to search within only an AD group using peoplepicker-searchadcustomfilter

e.g.

group TG1 in Mosslab.com domain for the JR4 site collection

stsadm -o setproperty -pn peoplepicker-searchadcustomfilter -pv "(memberOf=CN=TG1,OU
=SPUsers,DC=Mosslab,DC=Com)" -url http://wbicd9506:81/sites/JR4

Note - Users can still add a number of groups from the Builtin OU, e.g. NT AUTHORITY\authenticated users; BUILTIN\users; BUILTIN\administrators; BUILTIN\guests; BUILTIN\performance log users; BUILTIN\backup operators

stsadm: remove custom filter


stsadm -o getproperty -propertyname peoplepicker-searchadcustomfilter -url http://wbicd9506:81

stsadm -o getproperty -propertyname peoplepicker-searchadcustomfilter -url http://wbicd9506:82

stsadm -o setproperty -url http://wbicd9506:81 -pn peoplepicker-searchadcustomfilter -pv " "

stsadm -o getproperty -propertyname peoplepicker-searchadcustomfilter -url http://wbicd9506:81

SharePoint Information Architecture Diagram

Here is the template I use for Information Architecture designs. It's built using Mindjet and I flesh the nodes out with the low level d...