Get-IBRecord
SYNOPSIS
Retrieve DNS records from Infoblox.
SYNTAX
Specific (Default)
Get-IBRecord [[-Name] <String>] [[-Zone] <String>] [[-Properties] <String[]>] [-ExcludeDefaultProperties]
[<CommonParameters>]
IncludeAll
DESCRIPTION
This function retrieves DNS records from Infoblox based on specified filters such as name or zone. It supports retrieving specific properties, excluding default properties, or including all available properties.
EXAMPLES
EXAMPLE 1
Retrieves DNS records from Infoblox with a name matching "server01".
EXAMPLE 2
Retrieves DNS records from the "example.com" zone with a name matching "server01".
EXAMPLE 3
Retrieves specific properties for the DNS record with a name matching "server01".
EXAMPLE 4
Retrieves all available properties for all DNS records in Infoblox.
PARAMETERS
-Name
The name of the DNS record to search for in Infoblox. Supports partial matches.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Zone
The DNS zone to search within. Defaults to the user's DNS domain.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: ($env:USERDNSDOMAIN).ToLower()
Accept pipeline input: False
Accept wildcard characters: False
-Properties
A list of specific properties to retrieve for the DNS record.
Type: String[]
Parameter Sets: Specific
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ExcludeDefaultProperties
A switch to exclude default properties from the result.
Type: SwitchParameter
Parameter Sets: Specific
Aliases:
Required: False
Position: 4
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-IncludeAllProperties
A switch to include all available properties in the result.
Type: SwitchParameter
Parameter Sets: IncludeAll
Aliases:
Required: False
Position: 3
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.