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

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

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.

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

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

Cmdlets

Get-RetentionServiceStatus

Get-RetentionServiceStatus
[-SQLTimeout <int>]
POWERSHELL

Remove-RetentionServicePermission

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

Set-IndexRebuildInterval

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

Set-RetentionService

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