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

List-Collection.ps1

This script will load the module SccmFunctions from the same directory the script is in. In the Module is the function Get-Sccmcollection defined. This function will return all members from a collection. The script will then loop through the members … Read More

get-ADComputers.ps1

This is a sample script to list all the computers in a domain or in a specific OU. If no OU is specified all the computers in the domain will be listed. #*************************************************************************** #** Script: get-ADComputers.ps1 #** Version: 1.0 #** … Read More

ping.ps1

This is an example on how to ping a hostname or ipaddress with powershell. It makes use of the WMI Win32_Pingstatus to ping the address. #*************************************************************************** #** Script: ping.ps1 #** Version: 1.0 #** Created: 12/19/2010 11:09AM #** Author: Adriaan Westra … Read More

CreateShortcut.ps1

This Script uses the WSHShell object to create a shortcut on the users desktop. For this example A shortcut to notepad.exe is created with no additional arguments. The path for the users desktop is retrieved from the environment settings. #*************************************************************************** … Read More

Add2Group.ps1

This script will read an input file with users and add them to an Active Directory group. Every user needs to be on a separate line. Commandline : ./Add2Group.ps1 #*************************************************************************** #** Script: Add2Group.ps1 #** Version: 1.0 #** Created: 10:45 17-8-2014 … Read More

© 2018 Westphil