Invoke-RASTenant
The cmdlet invokes a command on an object of type Tenant. Available commands: SendInvitation, GenerateHash
Invoke-RASTenant [-Id] <uint> -Command {GenerateHash | SendInvitation} [-EmailBody <string>] [-EmailRecipients <string>] [<CommonParameters>]
Invoke-RASTenant [-Name] <string> -Command {GenerateHash | SendInvitation} [-EmailBody <string>] [-EmailRecipients <string>] [<CommonParameters>]
The cmdlet invoke a command on an object of type Tenant. Available commands: SendInvitation, GenerateHash
-Name <string> Tenant name.
-Id <uint> Tenant ID.
-Command <TenantCommand> Tenant command.
Possible values: GenerateHash, SendInvitation
-EmailRecipients <string> Email recipients in a semicolon separated list, exclusive to the SendViaEmail command.
-EmailBody <string> The contents of the email, exclusive to the SendViaEmail command. Required variable: %INVITATIONHASH% Possible variables: %TENANTBROKER%
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ----------
Invoke-RASTenant -Id 1 -Command SendInvitation -Email username@email.com
Sends the specified tenant's hash key within an tenant invitation email to the specified email address. ---------- EXAMPLE 2 ----------
Invoke-RASTenant -Id 1 -Command GenerateHash
Updates the specified tenant with a new tenant hash key.