Hi,
Does anyone know of a way you can push a custom shadow vol schedule (3 times a day) to multiple (W2k3) servers.
I'm thinking along the lines of a GPO that I can link to the OU the servers are in. Anyone done it before?
Cheers.
Hi,
Does anyone know of a way you can push a custom shadow vol schedule (3 times a day) to multiple (W2k3) servers.
I'm thinking along the lines of a GPO that I can link to the OU the servers are in. Anyone done it before?
Cheers.
how many servers are you talking about here?
This could be done as a sheduled task and these can be setup using a batch file / logon script or with psexec
http://www.ss64.com/nt/schtasks.html
Last edited by Jay; 01-07-2009 at 05:41 PM.
□ΞVΞ□
I need to roll it to about 150 servers so was looking for something automated.
Looking at the scheduled task that gets created when it's enabled the volume id is specified in there which is going to be unique on each machine......this might take a while..
EDIT: Thinking out loud might be able to use vbs to get the volume name and then create the scheduled job using that.....will get on the google.
yes you could use a %% to get it
**edit**
infact you can get the info from this
If you need any help pulling the above script apart for your use send me a PM and i'll give you a hand.Code:strComputer = "." Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") str = "" Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_LogicalDisk") For Each objItem In colItems str = str & objItem.Name & " SerialNumber: " & objItem.VolumeSerialNumber & vbCrlf & vbCrlf Next MsgBox str
Last edited by Jay; 02-07-2009 at 05:28 PM.
□ΞVΞ□
I'm getting the correct ID out running "vssadmin list providers" from the command line but I can't find the correct wmi class.
I thought the Win32_ShadowProvider class might be the ticket but no joy there....
Does anyone out there know where I should be looking....?
There are currently 1 users browsing this thread. (0 members and 1 guests)
SCAN 3XS Systems Support
SCAN.care@HEXUS