https://github.com/cdhunt/outlookcli
A PowerShell CLI for MAPI
https://github.com/cdhunt/outlookcli
Last synced: 12 months ago
JSON representation
A PowerShell CLI for MAPI
- Host: GitHub
- URL: https://github.com/cdhunt/outlookcli
- Owner: cdhunt
- License: mit
- Created: 2015-11-01T19:26:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-18T20:38:24.000Z (over 10 years ago)
- Last Synced: 2025-04-03T19:21:57.764Z (about 1 year ago)
- Language: PowerShell
- Size: 6.84 KB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OutlookCLI
A PowerShell CLI for MAPI
## Examples
```powershell
PS mail:\Inbox> $messages = Get-ChildItem
PS mail:\Inbox> $messages.Where({$_.SenderEmailAddress -eq "importantsencer@yourdomain.co"}) | Send-MailForward someemail@mydomain.me
PS mail:\Inbox> $messages = Get-ChildItem
PS mail:\Inbox> $messages.Where({$_.Subject -eq "Alert closed"}) | Set-MailRead
PS mail:\Inbox> $messages.Where({$_.Subject -eq "Alert Open"}) | Set-MailTask -Interval Today
```