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 Drivers, SetDevicePath, SysPrep.
By svermaak
– April 10, 2009
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 Generate String, GenStr.
By svermaak
– April 3, 2009
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 Status, WSUS, WSUS_Get_Status.
By svermaak
– March 11, 2009
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 Creation Time, Mailbox, MailboxCreationTime.
By svermaak
– February 2, 2009
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 Archive, Backup, CircularLogArchiver, Logs.
By svermaak
– January 21, 2009
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 IFPING, Ping, Pingable.
By svermaak
– December 17, 2008
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 Downloads, Unapproved, WSUS, WSUS_Cancel_Unapproved_Downloads.
By svermaak
– December 13, 2008
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 Domain Controller, Recovery Mode.
By svermaak
– December 8, 2008
Tiler by Shaun Vermaak tile windows on specified intervals
Attachment(s):
Posted in Development.
Tagged with Tiler.
By svermaak
– November 17, 2008
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 CopyDHCPClients, DHCP.
By svermaak
– November 11, 2008