Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use the linked clones script for esxi 4, however I'm not sure how to run this script. I'm connecting to the esxi server with SSH and trying to run the scripts but it does nothing. Probably I need to open it with something that will process the script.

What I need to do? I need to install PowerCLI on the esxi server?


share|improve this question

PowerCli runs on a Windows client machine. You connect to the ESX(i) box using the Connect-VIServer command:

Connect-VIServer –Server –Protocol https –User username –Password password

Once you are connected then you can run all the PowerCli commands against the server you are connected to.

share|improve this answer

PowerCLI is a snap-in for Microsoft Powershell. It connects to ESXi using the VMware Web Services API. To utilize PowerCLI and the API on ESXi hosts, you must have a licensed version of vSphere/ESXi.

Connecting is as simple as:

Connect-VIServer <ESXi IP or HOSTNAME> -credential (Get-Credential)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.