CodeCombat is a non-traditional game where you control a character in a fantasy battle against ogres and the like. The trick to the game is that you control the character by writing JavaScript. You can make them move, say things, attack enemies, and other functions all with the corresponding lines of code like: this.moveXY(34, 65); That would move the character selected to … [Read more...]
A script to report all local accounts and details about them
As the old management saying goes "You can't manage what you don't measure". A lot of scripting solutions I have been utilizing lately have been all about inventory. Having the right information at the right time can give you a true picture of your organization and the areas you might need to work on to simplify support, improve security, or a little bit of both. The beauty … [Read more...]
A script to uninstall Panda Cloud Antivirus and, selectively, most other programs
Thanks to Avast's free for education Endpoint Protection, I was able to centrally manage and deploy Avast around the organization for a client. The problem was that once I had Avast on there, I also needed to be able to uninstall the previous security software, Panda Cloud Antivirus. Since it didn't have a nice central console, it would entail running around to each computer … [Read more...]
A script to delete mapped network drives using a certain UNC path
Mapped drives. You can love 'em or hate 'em. After changing file servers or retiring an old server, clients might have old mapped drives pointing to these servers. Since they could be a confusing interface and disconnected drives might slow down the computer until they time out, it's not a bad idea to clean up the old ones. It's a pretty simple process to disconnect a mapped … [Read more...]
Use WMI Code Creator to simplify WMI scripting
Windows Management Instrumentation, or WMI, has been mentioned on the site a few times previously. It allows you to get information about a PC from the computer itself. Today, I'm sharing about a free tool provided by Microsoft called WMI Code Creator. You can utilize WMI through the command line or with other languages like VBScript. You can use the WMI Code Creator to … [Read more...]