Tag Archives: powercli

VMware: Installing PowerCli from zip

Hi,

if you have an system which is not connected to the internet you cannot install PowerCli online .

Continue reading VMware: Installing PowerCli from zip

PowerCli: Invoke-VMScript fails with “An error occurred while sending the request”

Hi,

you want to call some commands in a VM and you got the following error “An error occurred while sending the request”
Continue reading PowerCli: Invoke-VMScript fails with “An error occurred while sending the request”

VMware: Set MAC Address of a kernel interface with PowerCli

Hi,

the New-VMHostNetworkAdapter offers the ability to set the MAC address while adding a new kernel interface. But this has a limitation. It always only a MAC within a range 00:50:56:00:00:00 – 00:50:56:3F:FF:FF.

If you try it even though you will get an error:

New-VMHostNetworkAdapter The MAC address is invalid or is not in the valid range 00:50:56:00:00:00 - 00:50:56:3F:FF:FF.

Continue reading VMware: Set MAC Address of a kernel interface with PowerCli

VMware PowerCli: Eject CD/DVD Media from VMs

Hi,

when you have to eject or unmount DVD iso from your VMs, may be the iso files resists on datastore you want to remove, these one liner should help you.
Continue reading VMware PowerCli: Eject CD/DVD Media from VMs

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