This script will update the SCSI Controller for a Virtual Machine.
It does not check to see if the VM is configured for a 64-bit Guest OS (BusLogic isn't supported) It does check to see if VMware Tools are running and shutdown the VM using the Guest OS Shutdown It does return the VM to the previous running state It does check to see if the new SCSI Controller value has already been set.
The Modify-ScsiController function is called at the end of the script. Here are different examples that show how the function can be used.