November 5, 2009
I tend to write VBScripts as object orientated code and have some Classes containing methods that I commonly use (reuse, reuse, reuse!), (eg Ping a hostname, get the operating system version, amongst others) but was always stuck on an easy way to import these classes into other scripts to make… [...]
October 10, 2009
Currently testing Windows XP SP3 before the rollout to a couple of thousand computers, one of the more bizarre and confusing issues I found was that some VBScripts didn’t work quite right; odd values returned here and there. Eventually tracked it down to the formating of dates using the Date… [...]
November 19, 2008
Aim: To add a printer connection to eg. \MyServer\MySharedPrinter for every user on every PC on your network. Many companies have a corporate printer everyone has access to so therefore why get them to do it themselves when you can automate this and forget about it. Solution: In the past… [...]
November 4, 2008
Here is a basic script to search Active Directory of your local domain for all computers (Can be set for Clients or Servers) and then save the list in a specified file ‘=================================== ‘ ‘ VBScript Source File — Created with SAPIEN Technologies PrimalScript 3.0 ‘ ‘ NAME: AD Computer… [...]
November 4, 2008
Quite a handy little script to run every now and again to check for unused printer drivers on a Windows Print Server, actually can run on any version but useful to run on a Print Server so you can remove old and unused printer drivers. Recently ran this on one… [...]