Tag Archives: vmware

VMware: Generate an URL for a VM Console Session

Hi,

with PowerCli it is simply possible to generate an direct Link to accessing a VM’s Console without clicking through the whole vSphere Tree.

The anatomy of the URL is
https://%vCenterFQDN%:9443/vsphere-client/vmrc/vmrc.jsp?vm=urn:vmomi:VirtualMachine:%MoRef%:%vCenterUUID%
Continue reading VMware: Generate an URL for a VM Console Session

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