Search-TssPlatformMigrationGroup

SYNOPSIS

Search the Secret Server groups in scope for Delinea Platform migration

SYNTAX

Search-TssPlatformMigrationGroup [-TssSession] <Session> [-Name <String>] [-MigrationState <String[]>]
 [-ExcludeSystemGroups] [<CommonParameters>]

DESCRIPTION

Returns the Secret Server groups in scope for migration to the Delinea Platform, with their migration state. The endpoint is a read even though it is called with POST (the filter is sent in the request body). Requires Delinea Platform integration on the Secret Server instance; without it the server returns an error (API_PlatformNotEnabled).

EXAMPLES

EXAMPLE 1

$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Search-TssPlatformMigrationGroup -TssSession $session -ExcludeSystemGroups

Returns the groups in scope for migration, without system groups

EXAMPLE 2

$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Search-TssPlatformMigrationGroup -TssSession $session -MigrationState MigrationError

Returns the groups whose last migration failed

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

-Name

Return groups whose name matches this text

Type: String
Parameter Sets: (All)
Aliases:

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

-MigrationState

Return groups in these migration states

Type: String[]
Parameter Sets: (All)
Aliases:

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

-ExcludeSystemGroups

Leave out the system groups

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
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.MigrationGroup[]

NOTES

Requires TssSession object returned by New-TssSession

https://thycotic-ps.github.io/thycotic.secretserver/commands/platform-migration/Search-TssPlatformMigrationGroup

https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/platform-migration/Search-TssPlatformMigrationGroup.ps1


Thycotic.SecretServer PowerShell Module — Not supported under any Delinea support agreement.

This site uses Just the Docs, a documentation theme for Jekyll.