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]