VBscript to get the system uptime from a group of computers
One of our corporate customers doubted that we had computers being left powered on overnight. So I quickly wrote the script below to query each computer’s uptime. The record uptime? …
One of our corporate customers doubted that we had computers being left powered on overnight. So I quickly wrote the script below to query each computer’s uptime. The record uptime? …
We’re in the mist of doing an Adobe Acrobat Reader upgrade, and one of my co-workers found this place of code on the net. The vbscript loops though WMI’s Win32_Product,…
Say, for example, you want to grant permissions on a remote folder. One way to do this is use the Microsoft XCACLS.VBS utility. Go read the Microsoft article I linked…
The pilot of the SMS Client Health Startup Script has gone reasonably well. So far the script has found about 30 broken PCs. But the logging has been a bit…
I was trying to copy some files to a group to a computers. What I’d do is check if the computer is alive first, by doing a network ping. If…
I’m in the process of piloting the DudeWorks/1E/Shaun Cassells SMS SCCM Client Health script. I’ve set it up so it runs in the user’s logon script. But there’s a bug…
And I don’t know why. My strong guess is that it is related to one of the 10+ recent Microsoft security patches I’ve deployed to the fleet. (I’m looking at…
That’s what I thought at least. Consider this snippet of code from the Delete computers from SMS VBscript: Set objResource = GetObject( "WinMgmts:\\" & strSMSServer & _ "\root\SMS\site_" & strSMSSiteCode…
If you looked at yesterday’s post, carefully I’ll admit as WordPress loves to mangle the display of <CODE>; you might have noticed that I check to see if a computer…
This is a small script I wrote many years ago to uninstall security patches. I customise it when I need it. In this example, I’ve customised it for MS09-032, but…