Search-TssPlatformMigrationLog
SYNOPSIS
Search the Delinea Platform migration log
SYNTAX
Search-TssPlatformMigrationLog [-TssSession] <Session> [-EndDate <DateTime>] [-LogLevel <String>]
[-ObjectType <String>] [-SearchTerm <String>] [-StartDate <DateTime>]
[<CommonParameters>]
DESCRIPTION
Returns the log entries written by Delinea Platform data migration runs, optionally filtered by text, level, object type and date. Reads the migration log stored in Secret Server, so it also works on an instance without Delinea Platform integration.
EXAMPLES
EXAMPLE 1
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Search-TssPlatformMigrationLog -TssSession $session -LogLevel Error
Returns the error entries of every migration run
EXAMPLE 2
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Search-TssPlatformMigrationLog -TssSession $session -ObjectType User -SearchTerm 'jsmith'
Returns the user entries that mention jsmith
PARAMETERS
-TssSession
TssSession object created by New-TssSession for authentication
Type: Session
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-EndDate
Return entries written up to this date. Can be used without -StartDate
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-LogLevel
Return entries of this level
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ObjectType
Return entries about this object type
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SearchTerm
Return entries containing this text
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StartDate
Return entries written from this date. Can be used without -EndDate
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
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
OUTPUTS
Thycotic.PowerShell.PlatformMigration.Log[]
NOTES
Requires TssSession object returned by New-TssSession