скрипт делает backup системы и заливает его на фтп
strComputer = “.” Set WshShell = WScript.CreateObject(“WScript.Shell”) strCommand = “C:\WINDOWS\system32\ntbackup.exe backup @C:\cmd\Back-UP-Drive-C.bks /a /v:no /r:no /rs:no /hc:off /m normal /j Back-UP-Drive-C /l:s /f D:\Back-Up\Backup-drive-c.bkf” WshShell.Run strcommand, 1, true Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\cimv2”) Set colItems = objWMIService.ExecQuery(“Select * from Win32_LocalTime”) For Each objItem in colItems strCommand = “C:\Arch\7z.exe a D:\Back-Up\Backup-dc-srv-01-DayOf-Week-“&objItem.DayOfWeek&”.7z D:\Back-Up\*.bkf -t7z… Читати далі »