Syntax
New-VcsUserInvitation [-Email] <String[]> -OrganizationRole <IVcsOrganizationRole[]> [-Server <CisServer[]>] [-ServiceRole <IVcsServiceRole[]>] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet creates a new user invitation on the VMware Cloud Services Platform. If no pending invitation is created, the user might be registered. You can check if the user is added successfully by using the Get-VcsUser cmdlet.Parameters
Return Type
VMware.CloudServices.Types.V1.CmdletOutput.IVcsUserInvitationNotes
Examples
-------------------------- Example 1 --------------------------
New-VcsUserInvitation -Email "email@mail.com" -OrganizationRole $organizationRoles -ServiceRole $serviceRoles
Creates a new user invitation for the user with an email "email@mail.com". Users organization roles are $organizationRoles. Users service roles are $serviceRoles.