Jere's Techblog

Set Tag to ESXi Host

0
Continue reading...

Verify Citrx HostedMachineID with VmWare Hypervisor

Sometimes the HostedMachineID of Citrix does not match that of VmWare. This is often the case when cloning or moving machines. In Citrix Studio you will see the Powerstate of this machines as unknow and you can’t do any VM actions like reboot in the console.

With this script snippet it can be checked. To do this the variable “Broker” must be adjusted in the Script and the PowerCli and CitrixModule (BrokerSnapIn) must be loaded. Furthermore, the connection to the vCenter must be initiated via “Connect-VIServer vCName“.

Now that the machines have been read out, the connections can be fixed.

vCenter Cert thumbprint update:

The letters in SSL-Thumbprint must be uppercase.

In this blog the problem is also discussed in detail:

0
Continue reading...

Hyper-V Create Machine

I’d like to share a mini Script to create VirtualMachines with Hyper-V and Powershell. It is certainly not enterprise diveable. But it’s enough to create a VM for testing.

Below are two links to similar topics.

To create a virtual machine from a specific template (Hyper V)

0
Continue reading...