Get-AllDNSAliasesPrintersFromServer
SYNOPSIS
Retrieve and compare DNS aliases for printers from specified servers.
SYNTAX
DESCRIPTION
This function retrieves all DNS aliases for printers from specified print servers and compares them with the printer names in Infoblox. It ensures that all printer DNS aliases are correctly configured and outputs any discrepancies.
EXAMPLES
EXAMPLE 1
Retrieves DNS aliases for printers from the print server "genprint01" and compares them with Infoblox records.
EXAMPLE 2
Retrieves DNS aliases for printers from the default list of print servers and compares them with Infoblox records.
PARAMETERS
-UPrintserver
The name of the print server to retrieve printer DNS aliases from. If not specified, a default list of print servers is used.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InfobloxURI
The URI for the Infoblox API. Default: "https://$($global:GridServer)/wapi/v2.0/record:host".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: "https://$($global:GridServer)/wapi/v2.0/record:host"
Accept pipeline input: False
Accept wildcard characters: False