Stsadm commandline tool (Office SharePoint Server) http://technet.microsoft.com/en-us/library/cc261956(office.12).aspx