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'm glad you like my solution.

 

For the agentTotal variable you can make a mandatory script parameter like this:

 

[Parameter(Mandatory=$true)][String]$AgentTotal,

 

Or you can use the Read-Host cmdlet to read the value:

 

$AgentTotal=Read-Host-Prompt"Enter total agent number"

Viewing all articles
Browse latest Browse all 247559

Trending Articles



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