ShowBasicInfo2.vbs


There are many variations in the types of scripts you can create. For example, ShowBasicInfo2.vbs script provides the same information as ShowBasicInfo1.vbs with fewer steps.

 '==================================================================== ' ' PURPOSE: Shows Basic Information on ISA Server 2004 ' ' NAME: ShowBasicInfo2.vbs ' ' RUN: cscript ShowBasicInfo2.vbs ' ' WHERE: Run on an ISA Server 2004, Local on Server ' ' COMMENT: This script was written by Jesper Hanno Hansen. ' ' VERSION: 1.0 '==================================================================== ' Create a Root Object to ISA Server 2004 Dim objRoot Set objRoot = CreateObject("FPC.Root") ' Using Wscript.Echo to write information to the screen, with direct ' reference to the Objects WScript.Echo "CreatedTime   " & objRoot.GetContainingServer.CreatedTime WScript.Echo "FQDN          " & objRoot.GetContainingServer.FQDN WScript.Echo "Name          " & objRoot.GetContainingServer.Name WScript.Echo "ProductVersion" & objRoot.GetContainingServer.                                    ProductVersion 




Microsoft Internet Security and Acceleration ISA Server 2004 Administrator's Pocket Consultant
Microsoft Internet Security and Acceleration (ISA) Server 2004 Administrators Pocket Consultant (Pro-Administrators Pocket Consultant)
ISBN: 0735621888
EAN: 2147483647
Year: 2006
Pages: 173

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net