Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Telnet  Server  Auditing  Settings  

 Content of List Telnet Server Auditing Settings.vbs
MD5 Hash: 4A6917C6E1FE71B72480906F24F40176
' Description: Displays Services for UNIX Telnet server auditing settings.


On Error Resume Next

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\sfuadmin")

Set colItems = objWMIService.ExecQuery _
("Select * from Telnet_Auditing")

For Each objItem in colItems
Wscript.Echo "Default: " & objItem.Default
Wscript.Echo "Event Logging Enabled: " & _
objItem.EventLoggingEnabled
Wscript.Echo "Key Name: " & objItem.KeyName
Wscript.Echo "Log Administrator Attempts: " & _
objItem.LogAdminAttempts
Wscript.Echo "Log Events: " & objItem.LogEvents
Wscript.Echo "Log Failures: " & objItem.LogFailures
Wscript.Echo "Log File: " & objItem.LogFile
Wscript.Echo "Log File Size: " & objItem.LogFileSize
Wscript.Echo "Log To File: " & objItem.LogToFile
Wscript.Echo
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a