Skip to main content
Skip table of contents

File Share Connector Service Cmdlets

File Share Connector Services supports configuration post-installation by using a PowerShell Module installed to the following location:    

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

When the File Share Connector 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.FileShare.PowerShell.dll”

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

Cmdlets

Remove-FileShareClassificationServicePermission

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

Remove-FileShareRetentionServicePermission

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

Remove-FileShareUnusedSettings

POWERSHELL
Remove-FileShareUnusedSettings

Reset-FileShareCrawlState

POWERSHELL
Reset-FileShareCrawlState
[-DataProviderType <string>]
[-ConnectionString <string>]
[-JsonProviderFileLocation <string>]
[-ManagedLocationPath <string>]

Set-FileShareClassificationService

POWERSHELL
Set-FileShareClassificationService
[-ConnectionString <string>]
[-ServiceIntervalInMS <int>]
[-LoggingLevel <string>]
[-DataProviderType <string>]
[-JsonProviderFileLocation <string>]
[-ServiceIdentity <pscredential>]
[-Stop]
[-Start]
[-ChangeLogon]
[-GrantPermissionToServiceIdentity]

Set-FileShareConfiguration

POWERSHELL
Set-FileShareConfiguration
[-ConnectionString <string>]
[-DataProviderType <string>]
[-JsonProviderFileLocation <string>]

Set-FileShareRetentionService

POWERSHELL
Set-FileShareRetentionService
[-ConnectionString <string>]
[-ServiceIntervalInMS <int>]
[-LoggingLevel <string>]
[-DataProviderType <string>]
[-JsonProviderFileLocation <string>]
[-ServiceIdentity <pscredential>]
[-Stop]
[-Start]
[-ChangeLogon]
[-GrantPermissionToServiceIdentity]
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.