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

Send-RDMMessageByShareableLink

Synopsis

Generate a shareable link to a message

Syntax

__AllParameterSets

Send-RDMMessageByShareableLink [-Body] <string> [[-Passphrase] <string>]
 [[-Duration] <PSSendLinkDurationWrapper>] [[-ViewLimit] <int>] [-AllowRecipientToDeleteMessage]
 [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]

Description

Use Devolutions Send to generate a link to a message. Only Devolutions Cloud and Devolutions Server workspaces supports this cmdlet.

Examples

PS C:\> $link = Send-RDMMessageByShareableLink -Body 'A special message' -Passphrase 654321 -Duration 5 -AllowRecipientToDeleteMessage -ViewLimit 10
PS C:\> $link

Store the created shareable link to the encrypted message 'A special message' in the variable $link. The link will be valid for 5 days or 10 views. To decrypt the message, the recipient will have to use the passphrase.

Parameters

-AllowRecipientToDeleteMessage

Allow a recipient to delete the message

-Body

Message to be sent.

-Duration

Time before the expiration of the link. Either a number of days (max 30) or a value from the enum [Devolutions.Server.ApiWrapper.Models.SendLinkDuration]. The default duration is a single hour.

-ForcePromptAnswer

Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:

  • Yes: Accept the prompt. Cover the OK and Automatic value.

  • No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.

  • Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.

-Passphrase

Passphrase to protect message. The recipient will have to use it to decrypt the message.

-ViewLimit

How many times the link can be seen before being deleted. By default, there is no limit.

CommonParameters

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

Notes

For more information, type "Get-Help Send-RDMMessageByShareableLink -detailed". For technical information, type "Get-Help Send-RDMMessageByShareableLink -full".

Last updated

Was this helpful?