CommandThreader – Execute any list of commands threaded into as many threads as needed (Updated)

CommandThreader by Shaun Vermaak is a command line tool that makes it possible to execute any list of commands threaded into as many threads as needed.

03/05/2009 – Fixed thread IDs
24/11/2008 – Added line numbers
03/11/2008 – Minor bug fixes

Usage: CommandThreader.exe NUMBER_OF_THREADS INPUT_FILE.TXT
Lines in INPUT_FILE.TXT must be in formatĀ COMMAND|ARGUMENT|WORKING_DIRECTORY|HIDDEN|TIMEOUT

Example: PSEXEC.exe|\192.168.0.1 -c -d -f Program.exe||True|1000

Attachment(s):
[list-attachments]

GenStr – Random string generator

GenStr by Shaun Vermaak generates random strings for passwords and pre-share keywords

Usage: GenStr.exe Aag1! LENGTHĀ COUNT
A = Generate string with only A,B,C,D,E,F (UPPERCASE affects whole string)
a = Generate string with only a,b,c,d,e,f (lowercase affects whole string)
g/G = Include alphabetical in generated string
1 = Include numerics in generated string
Exclamation = Include special characters
LENGTH = Length of generated string
COUNT = Number of strings to generate

Attachment(s):
[list-attachments]

CircularLogArchiver – Automates the archiving of logs with the help of 7Zip

CircularLogArchiver by Shaun Vermaak automates the archiving of logs with the help of 7Zip.
It’s particularly useful on large log directories were space is an issue.

Usage: CircularLogArchiver.exe GO /LP:LogPath /LE:LogExtention /AI:Interval /AOT:ArchiveOlderThan /DAOT:DontArchiveOlderThan /DOT:DeleteOlderThan
Example: CircularLogArchiver.exe GO /LP:”C:Logs” /LE:”*.log” /AI:”M” /AOT:”1″ /DAOT:”3″ /DOT:”3″
Example above will archive all files in “C:Logs” with *.log extention that are between one and three months old and delete files older than three months

Attachment(s):
[list-attachments]

WSUS_Cleanup – Perform WSUS cleanup

WSUS_Cleanup by Shaun Vermaak can performs a WSUS Server Cleanup from the command line…
Remember to have “Microsoft.UpdateServices.Administration.dll” in path

CleanupObsoleteComputers = COC
CleanupObsoleteUpdates = COU
CleanupUnneededContentFiles = CUCF
CompressUpdates = CU
DeclineExpiredUpdates = DEU
DeclineSupersededUpdates = DSU

Attachment(s):
[list-attachments]