VBS: Copy files and display a progress bar

The below script with copy files and display a standard windows progress bar. ‘ ——————————————————– ‘ VBS Script to run a Query againt a Active Directory Domain ‘ ‘ Author: Phil Eddies ‘ https://geekshangout.com ‘ ‘ Disclainer: ‘ Use of …

Read more

Get the Users AD Site Name

This tiny VBS script will return the current users Active Directory site name, which is very useful in a login script for doing things like adding printers or mapping drives based on what site the user is at Set objADSysInfo …

Read more

Function to return a folders size (vbs)

Here is a little VBS function that will return the size of a folder in bytes set oFS = WScript.CreateObject(“Scripting.FileSystemObject”) ‘Example of Usage wscript.echo GetFolderSize(“c:\temp”) ‘The Function Function GetFolderSize(folderpath) set oFolder = oFS.GetFolder(folderpath) GetFolderSize = oFolder.Size End function  

VMWare VCB & Backup Exec Script

I recently started using the VMWares Consolidated Backup product to backup the virtual servers on our VMWare ESX hosts. Dues to our VCB proxy server only having a 40Gb Hard Drive we where having problems with the pre-command script that …

Read more