However, if the FPC object is used in conjunction
??? with the FPCArray object, the script can be modified to produce a
??? script that would allow for a centralized backup of all ISA servers
??? in an organization. For more information about the FPC object,
??? please see the following URL:
???
??? http://msdn.microsoft.com/library/default.asp?url=/library/en-us
??? /isasdk/isa/fpc_object.asp
???
??? Please note that in all cases, usage of the FPC object is limited
??? to a server that has ISA 2004/2006 or greater installed on it.
???
???===================================================================
??? Check args
???===================================================================
If WScript.Arguments.Named.Exists(???path???) = FALSE Then
WScript.Arguments.ShowUsage()
WScript.Quit
End If
Dim WSHNetwork, objXML
Dim strPath
Dim strFileName
Dim dtmThisMinute, dtmThisHour
Dim dtmThisDay, dtmThisMonth, dtmThisYear
Set WSHNetwork = CreateObject(???WScript.Network???)
Set objXML = CreateObject(???Msxml2.DOMDocument???)
strPath = WScript.Arguments.Named(???path???)
480 CHAPTER 18 Backing Up, Restoring, and Recovering an ISA Server 2006 Environment
dtmThisMinute = PadDigits(Minute(Now), 2)
dtmThisHour = PadDigits(Hour(Now), 2)
dtmThisDay = PadDigits(Day(Now), 2)
dtmThisMonth = PadDigits(Month(Now), 2)
dtmThisYear = Year(Now)
strFileName = WSHNetwork.
Pages:
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748