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”)...
Read MorePosted by Phil Eddies | Aug 5, 2008 | Scripts, Windows |
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”)...
Read MorePosted by Phil Eddies | Aug 4, 2008 | Solutions, VMware |
If you get the below message when tring to use the Console in the Virtual Infrastructure Client it is because the permissions have been lost on the configuration file (.vmx) for that Virtual machine To restore the permissions...
Read MorePosted by Phil Eddies | Aug 3, 2008 | Tips, VMware |
Restarting the VMware management service can resolve lots of problems mainly problem where the VMware Host cannot be contacted correctly by the vSphere Client, or a Virtual machine will not start or vmotion Restarting the...
Read MorePosted by Phil Eddies | Aug 3, 2008 | Scripts, VMware |
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...
Read MorePosted by Phil Eddies | Aug 3, 2008 | Active Directory, Scripts |
Here is a very useful VBS function; I use it a lot in logon scripts. The function will return True or False depending on if the current user running the script is a member of the AD group passed to the function. To get the...
Read More
Recent Comments