Invoke ADCGetDnssrvrec - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCGetDnssrvrec

SYNOPSIS

Get Domain Name Service configuration object(s).

SYNTAX

GetAll (Default)

Invoke-ADCGetDnssrvrec [-Filter <Hashtable>] [-GetAll] [-ViewSummary] [<CommonParameters>]

GetByArgument

Invoke-ADCGetDnssrvrec [-Domain <String>] [-Target <String>] [-Type <String>] [-Nodeid <Double>]
 [-Filter <Hashtable>] [<CommonParameters>]

Count

Invoke-ADCGetDnssrvrec [-Count] [-Filter <Hashtable>] [<CommonParameters>]

DESCRIPTION

Configuration for server record resource.

EXAMPLES

EXAMPLE 1

Invoke-ADCGetDnssrvrec

Get data.

EXAMPLE 2

Invoke-ADCGetDnssrvrec -GetAll

Get all dnssrvrec data.

EXAMPLE 3

Invoke-ADCGetDnssrvrec -Count

Get the number of dnssrvrec objects.

EXAMPLE 4

Invoke-ADCGetDnssrvrec -name <string>

Get dnssrvrec object by specifying for example the name.

EXAMPLE 5

Invoke-ADCGetDnssrvrec -Filter @{ 'name'='<value>' }

Get dnssrvrec data with a filter.

PARAMETERS

-Domain

Domain name, which, by convention, is prefixed by the symbolic name of the desired service and the symbolic name of the desired protocol, each with an underscore (_) prepended. For example, if an SRV-aware client wants to discover a SIP service that is provided over UDP, in the domain example.com, the client performs a lookup for _sip._udp.example.com.

Type: String
Parameter Sets: GetByArgument
Aliases:

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

-Target

Target host for the specified service.

Type: String
Parameter Sets: GetByArgument
Aliases:

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

-Type

Type of records to display. Available settings function as follows:

  • ADNS - Display all authoritative address records.
  • PROXY - Display all proxy address records.
  • ALL - Display all address records. Possible values = ALL, ADNS, PROXY
Type: String
Parameter Sets: GetByArgument
Aliases:

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

-Nodeid

Unique number that identifies the cluster node.

Type: Double
Parameter Sets: GetByArgument
Aliases:

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

-Count

If specified, the count of the dnssrvrec object(s) will be returned.

Type: SwitchParameter
Parameter Sets: Count
Aliases:

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

-Filter

Specify a filter. -Filter @{ 'name'='<value>' }

Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: @{ }
Accept pipeline input: False
Accept wildcard characters: False

-GetAll

Retrieve all dnssrvrec object(s).

Type: SwitchParameter
Parameter Sets: GetAll
Aliases:

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

-ViewSummary

When specified, only a summary of information is returned.

Type: SwitchParameter
Parameter Sets: GetAll
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

NOTES

File Name : Invoke-ADCGetDnssrvrec Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/dns/dnssrvrec/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.

RELATED LINKS

https://blog.j81.nl

⚠️ **GitHub.com Fallback** ⚠️