Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Force Users to Type Command-line Arguments in a Specific OrderContent of Force Users to Type Command-line Arguments in a Specific Order.vbsMD5 Hash: 4632C5D0E327A1AC2A6149DD45649C1A |
||
If Wscript.Arguments.Named("s") = "" Or Wscript.Arguments.Named("c") = "" Then
Wscript.Echo "You must specify both the service and the computer using syntax like this:" Wscript.Echo Wscript.Echo "myscript.vbs /s:alerter /c:atl-ws-01" Wscript.Quit End If Wscript.Echo "Service: " & Wscript.Arguments.Named("s") Wscript.Echo "Computer: " & Wscript.Arguments.Named("c") | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |