For the complete documentation index, see llms.txt. This page is also available as Markdown.

Invoke-RASTenant

SYNOPSIS

The cmdlet invokes a command on an object of type Tenant. Available commands: SendInvitation, GenerateHash

SYNTAX

Invoke-RASTenant [-Id] <uint> -Command {GenerateHash | SendInvitation} [-EmailBody <string>]
 [-EmailRecipients <string>] [<CommonParameters>]
Invoke-RASTenant [-Name] <string> -Command {GenerateHash | SendInvitation} [-EmailBody <string>]
 [-EmailRecipients <string>] [<CommonParameters>]

DESCRIPTION

The cmdlet invoke a command on an object of type Tenant. Available commands: SendInvitation, GenerateHash

EXAMPLES

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

Updates the specified tenant with a new tenant hash key.

PARAMETERS

-Name

Tenant name.

-Id

Tenant ID.

-Command

Tenant command.

Possible values: GenerateHash, SendInvitation

Type reference: TenantCommand

-EmailRecipients

Email recipients in a semicolon separated list, exclusive to the SendViaEmail command.

-EmailBody

The contents of the email, exclusive to the SendViaEmail command. Required variable: %INVITATIONHASH% Possible variables: %TENANTBROKER%

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

None

Last updated