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