PowerCLI: New-HCXMobilityGroup - A parameter cannot be found that matches parameter name 'source'

Summary:
Running the above cmdlet and passing what is apparently the only required parameter of name, results in the above obscure error. It refers to a parameter that doesn't appear to exist for the cmdlet.  There is also the -migration parameter that looks for a <HCXMobilityGroupMigration[]> object array that no other HCX cmdlet provides.

Long story short, informed VMware, they are going to fix the cmdlets and their documentation.  In the meantime, here are some examples that VMware's GSS shared to be able to use the New-HCXMobilityGroup cmdlet.

Here is the code:

Comments

Popular posts from this blog

PowerCLI: The SSL connection could not be established, see inner exception.

Misc: Fire TV Stick 2 Screen Cut Off, no display adjustment option

Get iDRAC/ILO (aka Baseboard Management Controller) IP via PowerCLI