I want to be able to run VBScript or JScript on a server using cscript.exe to manipulate SharePoint through the object model.
For example, to update the log file location:
Microsoft.SharePoint.Administration.SPDiagnosticsService serv = new Microsoft.SharePoint.Administration.SPDiagnosticsService();
serv.LogLocation = @"E:\";
serv.Update();
Is it possible to do this?
I know I would need to run this code using a farm admin account. I don't have access to PowerShell (yet), and I don't want to have to compile dozens of small command line utilities to get this done, either.