New-RDMMessageAttachment
Synopsis
Syntax
Credentials
New-RDMMessageAttachment -Credentials -Password <securestring> -Title <string> -Username <string>
[-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]File
New-RDMMessageAttachment -File -Path <string> [-ForcePromptAnswer <DialogResult[]>]
[<CommonParameters>]Description
Examples
Example 1
PS C:\> $cred = New-RDMMessageAttachment -Credentials -Title 'ForSomething' -Username 'ABC' -Password (ConvertTo-SecureString -AsPlainText passw0rd); Send-RDMMessage -To 'First Last' -Subject 'Required credentials' -Attachment $credExample 2
Parameters
-Credentials
-File
-ForcePromptAnswer
-Password
-Path
-Title
-Username
CommonParameters
Notes
Last updated
Was this helpful?