Logo

Documentation home for Transend tools

Find-UserListErrors

SYNOPSIS

Finds discrepancies in a TMC user list.

SYNTAX

Find-UserListErrors [-Csv] <String> [-SourceField] <String> [-TargetField] <String> [[-Comparison] <String>]
 [[-Delimiter] <String>] [<CommonParameters>]

DESCRIPTION

Use the Find-UserListErrors cmdlet to find discrepancies in a TMC user list. Discrepancies can cause data from one user’s source mailbox to be written to another user’s target mailbox, so it is important to run this prior to migrating data.

EXAMPLES

Example 1

Find-UserListErrors -Csv 'C:\Temp\users.csv' -SourceField 'SourceId' -TargetField 'TargetId'

Scans C:\Temp\users.csv for discrepancies between the SourceId and TargetId fields of each record. This example uses the default Normal comparison.

Example 2

Find-UserListErrors -Csv 'C:\Temp\users.csv' -SourceField 'SourceId' -TargetField 'TargetId' -Comparison 'FindMore'

Scans C:\Temp\users.csv for discrepancies between the SourceId and TargetId fields of each record. This example uses the FindMore comparison, which can find more potential discrepancies than the default.

PARAMETERS

-Comparison

The comparison sensitivity. Different datasets may require experimenting with each option to find the best fit.

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Normal, FindMore, FindFewer

Required: False
Position: 3
Default value: Normal
Accept pipeline input: False
Accept wildcard characters: False

-Csv

The path to the CSV to scan.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Delimiter

The CSV record delimiter. Defaults to a semicolon.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: ;
Accept pipeline input: False
Accept wildcard characters: False

-SourceField

The name of the CSV field containing the left-hand side of the comparison.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TargetField

The name of the CSV field containing the right-hand side of the comparison.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

None

OUTPUTS

System.Object

NOTES

TMCTools configuration options