Login | |
|
 |
RE: Ping (WMI & Non-WMI Versions) - Functions & Simple ... - 3/29/2007 12:57:12 AM
|
|
 |
|
| |
mcds99
Posts: 407
Score: 4
Joined: 2/28/2006
Status: offline
|
The Connectivity Monitor is SO COOL! I love scripts that have KISMIF! (Keep It Simple Make It Fun!)
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
 |
RE: Ping (WMI & Non-WMI Versions) - Functions & Simple ... - 5/8/2007 1:54:28 AM
|
|
 |
|
| |
4scriptmoni
Posts: 184
Score: 0
Joined: 5/3/2007
Status: offline
|
Amazing job!!! Great GUI, I also want to try to make an .hta. Also checked your site, I will make a link to it from mine.. regards,
_____________________________
Enterprise Microsoft Scripts Exchange, Login/Logout Monitor,TS, Monitoring, Security, AD, etc... http://www.xoroz.com
|
|
| |
|
|
|
 |
RE: Ping (WMI & Non-WMI Versions) - Functions & Simple ... - 8/19/2007 1:32:45 PM
|
|
 |
|
| |
dm_4ever
Posts: 2172
Score: 32
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
If your AD has a lot of outdated computer records then it sounds like you may want work on some clean up scripts. Each computer would have a "LastLogonTimeStamp" value...the thing with that is that you would have to query all domain controllers since I don't believe this information gets replicated. As for pinging...it is a basic connectivity check. http://en.wikipedia.org/wiki/Ping As for speed...controlling and initiating several scripts to do the ping and write it to something like a database may be a bit faster. Depending on the size of your organization...you should consider investing into a system like MS SMS to deploy software or make changes. You might also consider deploying a login script that will gather a computers information and write it to a centralized database of some sort.
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Ping (WMI & Non-WMI Versions) - Functions & Simple ... - 8/20/2007 7:58:43 AM
|
|
 |
|
| |
CondoPC
Posts: 118
Score: 0
Joined: 7/23/2007
Status: offline
|
If you are looking at validating your records pulled from AD, then lastlogin property of the AD record would work. You can also compare that to DNS records and DHCP lease time to get a filtered list of known computer accounts that dhave been on the network in x days (based on your DNS and DHCP record scavenging). Once you build a filtered list, you only need to keep it updated on a schedule. Then use your dropdown to validate the accounts between AD and your filtered list. That would eliminate your need for ping. Your records may not be 100% accurate, but you at least would not have any records older than your update interval.
|
|
| |
|
|
|
 |
RE: Ping (WMI & Non-WMI Versions) - Functions & Simple ... - 8/22/2007 3:17:01 PM
|
|
 |
|
| |
dm_4ever
Posts: 2172
Score: 32
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
I really don't have a need for a VBScript version of the KIX script you posted and I already know how to do everything that is required so there is not much to be gained on my part. Read/Write to a text file...do a search for FileSystemObject and the OpenTextFile method: http://msdn2.microsoft.com/en-us/library/z9ty6h50.aspx & http://msdn2.microsoft.com/en-us/library/314cz14s.aspx Ping...well you have plenty of examples in this post Executing Net View and UpTime...do a search for WSHSHell and the Run method: http://msdn2.microsoft.com/en-us/library/d5fk67ky.aspx Checking Services...the example you posted is already using WMI and the code would be almost the same without the $ It is not that I don't think the script would be useful to others or that I don't want to help...helping those who are willing to put forth an effort to do it on their own is what many of us look for. Perhaps you will get lucky and someone will provide you with what you need, but if you have other scripts to convert you might as well start learning and doing this on your own...as much as possible of course. If you have specific questions about something or an error...feel free to post in the WSH & Client Side VBScript forum.
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|