Skip to content


SetDevicePath – Automates the building of the DevicePath variable in registry from a specified path

SetDevicePath by Shaun Vermaak is a script to automatically build the DevicePath variable in registry from a specified path
. Very useful in SysPrep process (Replaces OEMPnpDriversPath in SysPrep.inf)

Usage: CScript SetDevicePath.vbs /DriverFolder:PATHTODRIVERS

Attachment(s):

Posted in Scripts.

Tagged with , , .


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):

Posted in Development.

Tagged with , .


WSUS_Get_Status – Get WSUS status remotely

WSUS_Get_Status by Shaun Vermaak is an utility to get the UpdatesNeedingFilesCount value from a remote WSUS server…
Remember to have “Microsoft.UpdateServices.Administration.dll” in path

Usage: WSUS_Get_Status.exe SERVERNAME USESECURECONNECTION PORT

Attachment(s):

Posted in Development.

Tagged with , , .


MailboxCreationTime – Get the mailbox creation timestamp from a Microsoft Exchange Server

MailboxCreationTime by Shaun Vermaak (modified from broken script by unknown author) is a script to get the mailbox creation timestamp from a Microsoft Exchange Server.

Note that it must be executed in the context of an user account that has full mailbox rights

Usage: CScript.exe MailboxCreationTime.vbs /ServerName:SERVERNAME

Attachment(s):

Posted in Scripts.

Tagged with , , .


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):

Posted in Development.

Tagged with , , , .


Pingable – Checks if a specified host is reachable

Pingable by Shaun Vermaak is my implementation of IFPING. It’s a Windows based commandline utility that checks if a specified host is reachable and then returns the ERRORLEVEL value back to the CMD

Usage: Pingable.exe HOSTNAMEORIPADDRESS TIMEOUT PASSCOUNT

Attachment(s):

Posted in Development.

Tagged with , , .


WSUS_Cancel_Unapproved_Downloads – Cancels all unapproved downloads on WSUS server

WSUS_Cancel_Unapproved_Downloads by Shaun Vermaak cancels all unapproved downloads on WSUS server…
Remember to have “Microsoft.UpdateServices.Administration.dll” in path

Attachment(s):

Posted in Development.

Tagged with , , , .


SetRMPassword – Reset the Recovery Mode password on a Microsoft Active Directory Domain Controller

SetRMPassword by Shaun Vermaak is a script that automates ntdsutil.exe to allow a single line command to reset the Recovery Mode password on a Microsoft Active Directory Domain Controller

False positive on some Anti-Virus products so both compiled- and auto-it script is included in the download

Usage: SetRMPassword.exe PASSWORD

Attachment(s):

Posted in Scripts.

Tagged with , .


Tiler – Tile windows on specified intervals

Tiler by Shaun Vermaak tile windows on specified intervals

Attachment(s):

Posted in Development.

Tagged with .


CopyDHCPClients – Copies Microsoft DHCP reservations from one server/scope to another server/scope

CopyDHCPClients by Shaun Vermaak copies Microsoft DHCP reservations from one server/scope to another server/scope.

Usage: CopyDHCPClients.exe SOURCESERVER SOURCESCOPE TARGETSERVER TARGETSCOPE

Attachment(s):

Posted in Development.

Tagged with , .