Category Archives: Virtualisation

All about virtualisation. VirtualBox, VMware Workstation, ESXi and vCenter, qemu

VMware: Execute scripts by Invoke-VMScript as Administrator

Hi,

this post addresses the issue that, when Windows UAC is enabled, you could not execute scripts with elevated Administrator permissions by PowerCli’s Invoke-VMScript. In my opinion when I execute scripts on VMs in more then 80% of these cases I need elevated user rights.
Continue reading VMware: Execute scripts by Invoke-VMScript as Administrator

VMware: Find VMs by IP Address

Hi,

sometimes you want to find which IP Address belongs to a virtual machine. This can be easily done by powercli, provided that the VMware Tools are installed in each VM.
Continue reading VMware: Find VMs by IP Address

VMware: Set NTP Server of all ESXi Host conntected to vCenter

Hi,

attached to this post a PowerCli script to change NTP Server on all ESXi Servers connected to vCenter.
Continue reading VMware: Set NTP Server of all ESXi Host conntected to vCenter

VMware: vSphere Logfiles

Hi,

short post just for me as bookmark:-)
Continue reading VMware: vSphere Logfiles

VMware: Set DNS Server of all ESXi Host conntected to vCenter

Hi,

this is a script to set the DNS Servers for all ESXi Hosts connected to vCenter.

Usage is very simple. Open a PowerCli Command shell. The script accept 2 parameters. “vc” = the vCenter and “s” is the a comma separarted list of DNS Servers.

PS D:\temp> .\SetHostDNS.ps1 -vc yourVCenterServer.yourdomain -s 8.8.4.4,8.8.8.8
Set DNS Server at host1.yourdomain ... ok
Set DNS Server at host2.yourdomain ... ok

Thats all 🙂

Michael