Agustin Gallegos
Use this optional parameter to set an impersonation SMTP address.
File path to a sample file to be attach. If this parameter is ommitted, a test file of 34MB will be created.
This is the amount of messages to be created in the Public Folder. By default will attempt 100.
Use this Switch parameter to enable Powershell Transcript.
Use this Switch parameter to connect to EWS using Basic Auth. By default the script will attempt to connect using Modern Auth.
PS C:\> Inject-MailItemsIntoArchive.ps1 -NumberOfMessages 10
The script will request the user credentials.
Will attempt to inject 10 messages into the user Archive's Inbox.
PS C:\> Inject-MailItemsIntoArchive.ps1 -TargetSMTPAddress "[email protected]" -EnableTranscript -UseBasicAuth
The script will request the user credentials which have impersonation permissions to open mailbox "[email protected]".
Will attempt to inject 100 messages (default value) into the user Archive's Inbox.
Will save all powershell output to the Transcript file.
Will connect to EWS using Basic Auth instead of Modern Auth.
- First Release.
- Project start.