D2O365ComplianceSearch
Assign a 'Mailbox Import Export' management role to a user. This script runs through the agent on a Windows machine, pulls and executes a PowerShell script - which talks to the Exchange server.
javascript · D2 (Deprecated)
Details
| ID | D2O365ComplianceSearch |
|---|---|
| Language | javascript |
| From Version | 5.0.0 |
| Tags | email office365 |
README
Assigns a Mailbox Import Export management role to a user. This script runs through the agent on a Windows machine, pulls and executes a PowerShell script - which talks to the Exchange server.
Script Data
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | email, office365 |
Inputs
| Argument Name | Description |
|---|---|
| username | The admin user to use for compliance search. |
| password | The password for the specified user. |
| query | The query to use for finding mails. |
| timeout | The amoun of time to wait before timing out (in seconds). The default is 5 mins. Max is 2 hours. |
Outputs
There are no outputs for this script.
commonfields: id: D2O365ComplianceSearch version: -1 name: D2O365ComplianceSearch script: '' type: javascript tags: - email - office365 comment: Assign a 'Mailbox Import Export' management role to a user. This script runs through the agent on a Windows machine, pulls and executes a PowerShell script - which talks to the Exchange server. system: true args: - name: username required: true default: true description: Admin user to use for compliance search - name: password required: true secret: true description: Password for the specified user - name: query required: true description: Query to use for finding mails - name: timeout description: in seconds. Default is 5 mins. Max is 2 hours. scripttarget: 1 dependson: {} timeout: 7.2µs fromversion: 5.0.0 tests: - no test