Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Track Script Progress in a Command WindowContent of Track Script Progress in a Command Window.vbsMD5 Hash: 1F10F16A2059FFC83E0C5315E38A5123 |
||
' Description: Demonstrates the use of StdOut as a method for indicating the progress being made by a script.
Wscript.Echo "Processing information. This might take several minutes." strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colServices = objWMIService.ExecQuery("Select * from Win32_Service") For Each objService in colServices Wscript.StdOut.Write(".") Next Wscript.StdOut.WriteLine Wscript.Echo "Service information processed." | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |