Get-TssDiscoveryServiceAccount
SYNOPSIS
Get a discovered service account
SYNTAX
Get-TssDiscoveryServiceAccount [-TssSession] <Session> -Id <Int32[]>
[<CommonParameters>]
DESCRIPTION
Gets a service account found by discovery, with its computer, discovery source, scanner and linked secret.
EXAMPLES
EXAMPLE 1
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Get-TssDiscoveryServiceAccount -TssSession $session -Id 101
Get discovered service account 101
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
Discovery network item ID of the service account
Type: Int32[]
Parameter Sets: (All)
Aliases:
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.ServiceAccount
NOTES
Requires TssSession object returned by New-TssSession