VBS: Update Services Password on Local/Remote Box

VBS: Update Services Password on Local/Remote Box

This script, will allow you to update passwords for services that “Log on As” set to use a domain account. You can download it here. ‘***********************************************************‘Written by Jase McCarty‘Date: 03/29/2006‘‘UPD8SVCS.vbs‘‘Description: Change the password on a local‘or remote system for a Service that has ‘”Logon As” set for a Domain Account‘Useful for Servers when a service account‘has a password change‘*********************************************************** Option Explicit Dim shellobj,envDim strUserDomain,strUserName,strPassword,strComputerDim CSComputerName,CSAccount,CSPassword,objWMIServiceDim objService ‘Check to make sure that we receive enough arguements (2 or more) If Wscript.Arguments.Count…

Read More Read More

VMware: Backing up your ESX Configuration/VMX files

VMware: Backing up your ESX Configuration/VMX files

This is a quick/easy/down/dirty way of backing up your ESX configuration information. You’ll need to add a cron job, and create a script to run that cron job. Here’s the script that I used to mount a Windows share, copy the files over, and then unmount the Windows share (I saved it in /root as backup.sh: #******************************************************************* #!/bin/bash mount -t smbfs //windowsserver/sharename /mountpoint -o username=user/DOMAIN,password=password cd /mountpoint/ESX_Backups/ rm -rf ./old.$HOSTNAME/ mv ./$HOSTNAME/ ./old.$HOSTNAME/ mkdir $HOSTNAME cd / cp -duR /etc/…

Read More Read More

VMware: Full path in ESX 2.5/3.0 Service Console

VMware: Full path in ESX 2.5/3.0 Service Console

This is an old post, but I redid the blog… Not sure how many of you use PuTTY and the COS, but I figured I’d post this tidbit. I got tired of looking at just[root@host log]# for my prompt.Showing only my current directory I would rather have[root@host /var/log]# Which shows the full path You can modify the /etc/bashrc file ( back it up first!!!) to change this. Look for this line in the /etc/bashrc file:[ “$PS1” = “\s-\v\$ ” ]…

Read More Read More

Citrix: Exporting Citrix XP FR2 Applications for import into Citrix PS 4.0

Citrix: Exporting Citrix XP FR2 Applications for import into Citrix PS 4.0

Well, here’s the script that I used to export apps from a Citrix XP FR2 farm for import into a Citrix PS 4.0 farm. I started out with the FarmAppUtil from Citrix (for XP FR3 and above), and looked at the output XML. I then took Michael Callahan’s script, and modified it to export the XML to “match up” with the format of the newer XML. So here were my steps: 1. Export with FarmAppExport.wsf2. Import with FarmAppUtil, which is…

Read More Read More