Search-TssIpRestrictionGroup
SYNOPSIS
Search IP Address restrictions assigned to groups.
SYNTAX
Search-TssIpRestrictionGroup [-TssSession] <Session> [-IpAddressRestrictionId <Int32>] [-GroupId <Int32>]
[-SortBy <String>] [<CommonParameters>]
DESCRIPTION
Search IP Address restrictions assigned to groups. Search based on Group Id or IP Address Restriction Id.
EXAMPLES
EXAMPLE 1
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Search-TssIpRestrictionGroup -TssSession $session -Id 5
Return groups assigned to IP Address restriction 5
EXAMPLE 2
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Search-TssIpRestrictionGroup -TssSession $session -GroupId 46
Return IP Address restrictions assigned to Group ID 46
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
-IpAddressRestrictionId
IP Address Restriction
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-GroupId
Group ID
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-SortBy
Sort by specific property, default IpAddressRestrictionId
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: IpAddressRestrictionId
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.IpRestrictions.Group
NOTES
Requires TssSession object returned by New-TssSession