For the complete documentation index, see llms.txt. This page is also available as Markdown.

Export-RDMActivityLogsReport

Synopsis

Export the activity logs for the current workspace.

Syntax

__AllParameterSets

Export-RDMActivityLogsReport [-Type] <string> [-Path] <string> [-After <datetime>]
 [-Before <datetime>] [-DateFilter <DateFilter>] [-Descending] [-EntryName <string>]
 [-Folder <string>] [-MachineName <string>] [-Message <string>] [-OnCloseComment <string>]
 [-OnOpenComment <string>] [-SortField <string>] [-TicketID <string>] [-Theme <Theme>]
 [-UserName <string>] [-UTC] [-VaultID <string>] [-ForcePromptAnswer <DialogResult[]>]
 [<CommonParameters>]

Description

Export the activity logs for the current workspace. The content can be filtered with parameters. If a file exists at the specified path, it will be overwritten. To use this cmdlet, the user must have the rights to access reports.

Examples

Example 1

PS C:\> Export-RDMActivityLogsReport Html C:\my\path\name.html -DateFilter Last30Days

Generate an html report at the location C:\my\path\name.html for all activities that occured in the last 30 days.

Example 2

Generate an csv report at the location C:\my\path\name.csv for all activities that occured on the entry VIPEntry. The report will have a dark background.

Parameters

-After

Set the inclusive custom lower limit date for the logs included in the report.

-Before

Set the inclusive custom upper limit date for the logs included in the report.

-DateFilter

Filter the logs based on predefined value for the date, such as Today. If not specified, it will be custom, allowing the use of the parameters Before and After.

-Descending

Sort in the descending order.

-EntryName

Filter the logs for a specific entry.

-Folder

Filter the logs for a specific folder.

-ForcePromptAnswer

Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:

  • Yes: Accept the prompt. Cover the OK and Automatic value.

  • No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.

  • Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.

-MachineName

Filter the logs by the machine name.

-Message

Filter the logs by the message.

-OnCloseComment

Filter the logs by the close prompt comment.

-OnOpenComment

Filter the logs by the open prompt comment.

-Path

Path where the file will be the saved. Must end with:

"CSV: .csv", "HTML: .html", "XML: .xml"

-SortField

Field on which the sort will be applied

-Theme

Specify the theme of the report. If not specified, the RDM theme will be used.

-TicketID

Filter the logs by the ticket number.

-Type

Specify the file type of the export. CSV, HTML and XLM are supported.

-UserName

Filter the logs by the user name.

-UTC

Use UTC time for the parameters 'After' and 'Before'.

-VaultID

Filter the logs by the vault ID.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Notes

For more information, type "Get-Help Export-RDMActivityLogsReport -detailed". For technical information, type "Get-Help Export-RDMActivityLogsReport -full".

Last updated

Was this helpful?