Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 247559

Re: When creating a linked cloned, prompt for which cluster and cluster datastore

$
0
0

I could be mistaken but the CMDlet Select-GUIObject doenst exist anymore?

However when using the vSphere-PowerCLI tool i can find the Select-Object but when i try this code:

 

Select-GUIObject Host  (Get-VMHost)

 

The select cmdlet is not showing here either:

http://www.vmware.com/support/developer/PowerCLI/PowerCLI50/html/

 

What i forgot to mention before is i am using vSphere 5.0.0 and also 5.0.0 ESX hosts.

 

I totally missed your comment about the Read-Host, this basically is ok, but would it be possible to make a list out of the information which is returned with the Get-Cluster command?

1. cluster-1

2. cluster-2

3. cluster-3

 

So that the user only has to pick a number?

 

$cluster=Read-Host"Enter vCenter Cluster: " (Get-Cluster)

Viewing all articles
Browse latest Browse all 247559

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>