Home » Scripting

CPW-Scheduledtask.ps1

This scripts automates the password change for scheduled task run with a certain user. #** #** Script: CPW-ScheduledTask.ps1 #** Version: 1.0 #** Created: 30/08/2019 08:09AM #** Author: Adriaan Westra #** Website: http://www.westphil.nl #** #** Purpose / Comments: #** Change pasword … Lees meer

Get-runmode.ps1

In een 64bit installatie kan powershell in 32bit of in 64bit mode opgestart. Afhankelijk van deze mode zal de default registry key waar powershell naar toeschrijft of van leest verschillen. Om een script geschikt te maken voor beide runmodes kun … Lees meer

Save information to a XML file.

  This script demonstrates how to save information to a xml file with the use of MSXML. The example xml file was used for the photo album on the site.   ‘***************************************************************** ‘** Script: CreateXML.vbs ‘** Version: 1.0 ‘** Created: … Lees meer

Create borders with photoshop.

This script uses photoshop cs3 or Photoshop Elements to create a border for your jpg images. It will also enter the copyright information for your image. A directory will be created in the same directory where the original images are. … Lees meer

Check audit log

I use this script to check the audit log of the doamain controller for event id 6 (policy change). The script checks for the event in the past hour. This script uses CDO to sent a smtp mail. You must … Lees meer

IpCalc.vbs

Sample script for using the functions GetNetwork, GetBroadcast, DecMask2Dotted and DottedMask2dec. GetNetwork will return the Network address for an IP address and subnet mask. GetBroadcast will return the Broadcast address. DecMask2Dotted will convert a /24 subnet mask in to the … Lees meer

getxmlelement.vbs

Get information from an XML file. This script demonstrates how to get information from an xml file with the use of MSXML. The example xml file is used for the photo album on the site. This script will return the … Lees meer

ChgIPHPPrt.vbs

Met dit script kun je de ip-configuratie van HP printers aanpassen. getest met HP Laserjet 3035 en HP 4345. De webserver in de printer moet aan staan. ‘****************************************************************************** ‘** Script: ChgIpHpPrt.vbs ‘** Version: 1.0 ‘** Created: 9:53 22-3-2012 ‘** Author: … Lees meer

NEF2JPG.vbs

Convert RAW images to jpg. This script uses photoshop cs3 to convert raw nef files jpg images. A jpg directory will be created in the same directory where the raw images are. The jpg images will be saved with the … Lees meer

Encrypt.vbs

This script is a sample encryption/decryption algorithm. The algorithm uses a encryption key and a random seed. If you change the seed or the key, you will get a different encrypted string. You need to use the same key and … Lees meer