Get-TssDiscoveryAccountRuleInfo
SYNOPSIS
Get Discovery account rule options for a secret template
SYNTAX
Get-TssDiscoveryAccountRuleInfo [-TssSession] <Session> -Id <Int32[]>
[<CommonParameters>]
DESCRIPTION
Returns the password types that can take over or change accounts for the secret template, and whether takeover or a privileged account is required. Use it before creating a Discovery account rule for that template.
EXAMPLES
EXAMPLE 1
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Get-TssDiscoveryAccountRuleInfo -TssSession $session -Id 6007
Get the Discovery account rule options for secret template 6007
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
-Id
Secret template id
Type: Int32[]
Parameter Sets: (All)
Aliases: SecretTemplateId
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
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.Discovery.AccountRuleInfo
NOTES
Requires TssSession object returned by New-TssSession