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: … Read More

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. … Read More

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 … Read More

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 … Read More

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 … Read More

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: … Read More

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 … Read More

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 … Read More

Sched-Task.ps1

I had the following problem : I needed to rerun a program from the sccm distribution share on the server. When you create a scheduled task with schtasks.exe there is no way to configure the working directory for the program … Read More

Readini.ps1

This is an example how to read a value from an inifile with Powershell. #*************************************************************************** #** Script:   ReadIni.ps1 #** Version:  1.0 #** Created:  12/19/2010 11:09AM #** Author:   Adriaan Westra #** Website:  http://www.westphil.nl #** #** Purpose / Comments: #**    Get a value … Read More

© 2018 Westphil