Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Telnet Auditing SettingsContent of Modify Telnet Auditing Settings.vbsMD5 Hash: 78AB8BB21AB16CA3E5650B245597C616 |
||
' Description: Demonstration script that modifies a Services for UNIX Telnet auditing setting.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\sfuadmin") Set colItems = objWMIService.ExecQuery _ ("Select * from Telnet_Auditing Where KeyName = 'Defaults'") For Each objItem in colItems objItem.LogEvents = 1 objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |