Celin.AIS.File
Module for managing File Attachments.
Get-Celin.AIS.File
Download file attachments.
- Name
- Attachment name.
- Key
- Attachment key.
- Sequence (Optional)
- Attachment sequence. A list of file attachments if not provided.
- Path (Optional)
- The file’s destination.
Example
Get address book file attachment (ABGT
) for address book number 4242 and sequence 1. Use the default file name.
$fa = get-celin.ais.file abgt 4242 2
Set-Celin.AIS.File
Upload file attachment.
- Name
- Attachment name.
- Key
- Attachment key.
- InputPath
- File’s source path.
- ItemName (Optional)
- Attachment’s item name.
Example
Upload local file celin.png
to address book attachment number 4242.
$up = set-celin.ais.file abgt 4242 celin.png -ItemName "Smile"
Remove-Celin.AIS.File
Remove file attachment.
- Name
- Attachment name.
- Key
- Attachment key.
- Sequence
- Attachment sequence.
Example
Remove address book file attachment number 2 from 4242.
remove-celin.ais.file abgt 4242 1