Utilities
For full details and examples, run Get-Help Format-MessageIDsFromClipboard -Detailed or Get-Help Format-SortedEmailsFromClipboard -Detailed.
Format-MessageIDsFromClipboard
The function name is Format-MessageIDsFromClipboard. The legacy alias mids remains available for backward compatibility.
Reads quarantine identities (one per line) from the clipboard, deduplicates them, copies a quoted/comma-separated list back to the clipboard, and can release the messages immediately using Unlock-QuarantineMessageId -Identity.
Syntax
Format-MessageIDsFromClipboard [-NoRelease] [-PassThru]
| Parameter | Description | Default |
|---|---|---|
NoRelease | Skip automatic release of the identities. | False |
PassThru | Emit the formatted string to the pipeline. | False |
Example
# Format and release immediately (by Identity)
Format-MessageIDsFromClipboard
# Format only, keep the list in the clipboard and show it
Format-MessageIDsFromClipboard -NoRelease -PassThru
Format-SortedEmailsFromClipboard
The function name is Format-SortedEmailsFromClipboard. The legacy alias fse remains available for backward compatibility.
Extracts e-mail addresses from clipboard text, deduplicates and sorts them, then copies a quoted/comma-separated list back to the clipboard.
Syntax
Format-SortedEmailsFromClipboard [-PassThru]
| Parameter | Description | Default |
|---|---|---|
PassThru | Emit the formatted string to the pipeline. | False |
Example
Format-SortedEmailsFromClipboard -PassThru