Archive for the 'Technology' Category

Delete Files Remotely Using PowerShell Script

Keep Reading ...

To run this with out reading a list just remove the commands at the the bottom and replace the “$_” with computer name or replace the $file variable with local path
123456789101112131415#MAIN
function delete-remotefile {
    PROCESS {
                $file = "\\$_\c$\File_to_be_deleted.txt"
              [...]

Error printing from Outlook

Keep Reading ...

To fix the this error go to “Start” then “Run” and type regsvr32 ole32.dll (if that doesnt work try oleau32.dll)
If your in IT you know coffee is almost as important as the air we breath. Show your support and add to the coffee fund. SHOW YOUR SUPPORT… Add to the coffee fundVN:F [1.6.9_936]please wait…Rating: 0.0/5 [...]

Adding vMotion support for different CPU’s in ESX enviroment

Keep Reading ...

“ESX/vSphere CPU compatibility with vMotion (EVC)”
If you dont know what EVC is will you are eventually going to find out. This feature is required for vMotion to be used in an environment with a mixture of CPU. For the Past few years I had all my ESX server using CPU’s in the same family but [...]

AutoIT script to check if file exist then install application

Keep Reading ...

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596;==========================================================================
;
; NAME: outlook_addon.au3
;
; AUTHOR: John Sorensen
;
; COMMENT:
; Install an outlook 2003 specific addon using AutoIT.
;This will first check to see if the addon
; already exists and if not will check if outlook 2003
;exexcutable exest then will install showing a
; install showing progress. Edit the script as needed
;to include your own file and [...]

Running ESX 3.5 in Workstation 6.5

Keep Reading ...

Why would I want to do this you ask?… well for testing duh! To be more specific for testing the upgrade from ESX 3.5 to vSphere.
After looking at a few “how-to’s” I found one that is simple and works.
http://www.vmadmin.co.uk/index.php/resources/35-esxserver/88-esxinworkstation

If your in IT you know coffee is almost as important as the air we breath. Show [...]

Run DOS command in VBscript

Keep Reading ...

DOS command can be run in Vb Script using the Shell object
The below script runs a mkdir command through Vb Script
Set objShell = CreateObject(“WScript.Shell”)
objShell.Run “%comspec% /c mkdir dir1″
If your in IT you know coffee is almost as important as the air we breath. Show your support and add to the coffee fund. SHOW YOUR SUPPORT… [...]

Esxcfg-firewall Syntax

Keep Reading ...

Esxcfg-firewall
Description: Configures the service console firewall ports
Syntax: esxcfg-firewall <options>
Options:

-q
Lists current settings

-q <service>
Lists settings for the specified service

-q incoming|outgoing
Lists settings for non-required incoming/outgoing ports

-s
Lists known services

-l
Loads current settings

-r
Resets all options to defaults

-e <service>
Allows specified service through the firewall (enables)

-d <service>
Blocks [...]

Allow root to access ESX via SSH

Keep Reading ...

This will allow the root user access via ssh which is disabled by default.
1. Go to the service console on the physical server and log in as root
2. type “vi /etc/ssh/sshd_config” (with quotes of course)
*if you dont know “vi” look it up before going any further.
3. Change [...]

Delete a Windows Service

Keep Reading ...

It is rare to have to manually remove a Windows service but on there are times when it is necasarry, like after a bad uninstall or testing beta software. I personally use 1 of 2 methods to remove a service.
Prior to removing any service make sure that it is atleast stopped and better yet disabled. [...]

Make vmdk file work on ESX3 server

Keep Reading ...

so you spent days perfecting a virtual machine in workstation and saved the vmdk file somewhere for future use and then the time comes to pull it out to find that your esx server does not even see it. You cant use the converter or the importer because it is looking for a config file [...]