Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thanks.

share|improve this question
add comment

2 Answers

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

Connect-VIServer –Server 1.2.3.4 –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
add comment

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
add comment

Your Answer

 
discard

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.