With PowerCLI, you can add AD authentication to a single managed ESXi Host. For this you need to add your ESXi-Host to the AD (line 9) and then add permissions (line 11): $VMHost = “hostname.domain.local” $HostPW = “yxz” $DomainAdmin = “DomainAdmin” $DomainPW = “yxz” $ADGroup = “domain\DomainGroup” $Domain = “domain.local” Add-PSSnapin VMware.VimAutomation.Core Connect-VIServer $VMHost –User … Read More “add domain groups to vSphere ESXi 5 with PowerCLI” »
Tag: VMware
i like vCheck to daily report my virtual environment status. But a lot of our guest systems are not in my responsibility, so the VM Tools are not uptodate or aren’t installed. i wroted this plugin for vCheck: $Title = “VMs by VM Tools status” $Header = “VMs by VM Tools status : $($VMToolsVersions.count)” $Comments … Read More “List VMTools Status with vCheck” »
The steps to install the offline bundle for VMware ESXi 5.0 has changed from VMware ESXi 4.X. The vihostupdate command used in ESXi 4.X does not work against ESXi 5.0 hosts. 1. Download the bundle.zip. Either Google “HP ESXi Offline Bundle for VMware ESXi 5.0” or go to www.hp.com → Support & Drivers → Drivers … Read More “Installing HP ESXi Offline Bundle for VMware ESXi 5.0” »
I had the task to list all existing virtual machines in our vSphere vCenter to an Excel-List. Cause i have alot of VM’s and they change often, i wrote a powershell-script, which creates an excel-file like this: The requirements for this script are Microsoft Excel and VMware PowerCLI 5. Look at the script or download … Read More “discover informations about all virtual machines to Excel” »
Anyone out there who runs a successful Microsoft Windows Active Directory, knows that it is pre-eminently useful to have a test environment that very nearly represents your production environment…to do…you know…testing! I thought I would give that a try, and here’s what I came up with: Shutdown and clone a Virtual Domain Controller with a … Read More “Clone your Active Directory in 18 minutes using VMware” »
To shutdown a VMware datacenter on UPS failure i found a PowerShell script, which i modified: The script will shutdown the desired VMware datacenter, but it will ask you first, if you are sure. If you like to run the script in silent mode, you can run it with parameter yes. You have to define … Read More “Shutdown full VMware datacenter on UPS failure” »
The ESXi 4.x installer utilizes the default blocksize of 1MB when creating VMFS volumes, allowing for storage of files 256GB and under. This default VMFS Datastore cannot be easily reformatted with a higher blocksize as it contains the Service Console VMDK file. But to store files greather than 256 GB (ex. VMDK), you have to … Read More “ESXi 4.x: change the blocksize for a partition” »