Set objWMIService = GetObject("winmgmts:\\" & Wscript.Arguments.Named("s") & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * From Win32_PerfFormattedData_PerfOS_System")
For Each objOS in colOperatingSystems
intSystemUptime = Int(objOS.SystemUpTime / 60)
Wscript.Echo intSystemUptime & " minutes"
Save this as (say uptime.vbs) and execute with cscript passing the server name in as a "s" argument (with a colon between s and server_name - no spaces). This connects to the WMI service which should be running on each of your ICM servers.
For example ....
D:\temp>cscript uptime.vbs /s:GT2045297
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
You can put this in a BATCH file - a line for each server - and send the output to a text file. That would look cool for 50+ servers. Should work OK because all the machines are in the ICM domain. I tried it on one of my systems and it worked fine. It even worked to CVP servers not in the ICM domain but which have the same Administrator password.
I'm not able to access my old voice mail messages all of a sudden. The recording says something like 'the message is currently not available'. This has never happened before in all the years I have been using this system. I have t...
If you have 2 ISR routers, one acting as Failover, do we need to have both the same number of SRST licenses on the 2 routers?
No. You will only need the SRST licenses on the primary router. Because this feature...
You have reached the Cisco Logistics Support Center.. To Check Status of your RMA, visit Product Returns & Replacements (RMA).
Need help? Contact us by Phone or Email.
Phone: 1800 553 2447 Option 4