Invoke-RASTenant
Last updated
Last updated
Invoke-RASTenant
The cmdlet invokes a command on an object of type Tenant. Available commands: SendInvitation, GenerateHash
Invoke-RASTenant [-] <uint> - {GenerateHash | SendInvitation} [- <string>] [- <string>] [<>]
Invoke-RASTenant [-] <string> - {GenerateHash | SendInvitation} [- <string>] [- <string>] [<>]
The cmdlet invoke a command on an object of type Tenant. Available commands: SendInvitation, GenerateHash
-Name <string> Tenant name.
-Id <uint> Tenant ID.
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.
-Command <> Tenant command.