Lifecycle Services Cmdlets

Records Management supports the post-installation configuration of Lifeycle Services by using a PowerShell Module installed to the following location:

PowerShell
%Install Path%\PowerShell\RecordLion.RecordsManager.PowerShell.dll

When Records Management Services are installed, the following Cmdlets are pre-registered with PowerShell and should be immediately available. However, if the Cmdlets are not available, simply execute the following command from a PowerShell Script to make the Cmdlets available.

PowerShell
Import-Module “%Install Path%\PowerShell\RecordLion.RecordsManager.PowerShell.dll”


%Install Path% should be replaced with the absolute path to where installation was specified.

Cmdlets

Get-RetentionServiceStatus

PowerShell
Get-RetentionServiceStatus
[-SQLTimeout <int>]

Remove-RetentionServicePermission

PowerShell
Remove-RetentionServicePermission
[-ServiceIdentity <pscredential>]
[-Stop]
[-Start]
[-ChangeLogon]
[-GrantPermissionToServiceIdentity]

Set-IndexRebuildInterval

PowerShell
Set-IndexRebuildInterval
-Interval <IndexRebuildInterval> {None | Hourly | Daily | Weekly}
[-RebuildStartHour <int>]
[-SQLTimeout <int>]

Set-RetentionService

PowerShell
Set-RetentionService
[-ConnectionString <string>]
[-ServiceIntervalInMS <int>]
[-AuditLifespanInDays <int>]
[-LoggingLevel <string>]
[-ServiceIdentity <pscredential>]
[-Stop]
[-Start]
[-ChangeLogon]
[-GrantPermissionToServiceIdentity]