New-IBDNSAlias
SYNOPSIS
Create DNS aliases for a specified hostname in Infoblox.
SYNTAX
DESCRIPTION
This function creates DNS aliases for a given hostname in Infoblox. If the hostname does not include the DNS domain, it appends the default domain before updating Infoblox. The function ensures that the aliases are added to the host record.
EXAMPLES
EXAMPLE 1
Creates the DNS aliases "alias1" and "alias2" for the hostname "server01" in Infoblox.
EXAMPLE 2
Creates the DNS alias "alias1.gentgrp.gent.be" for the fully qualified hostname "server01.gentgrp.gent.be" in Infoblox.
PARAMETERS
-Hostname
The hostname for which DNS aliases will be created. If the hostname does not include the DNS domain, it will be appended automatically.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Aliases
An array of DNS aliases to be added to the specified hostname.
Type: String[]
Parameter Sets: (All)
Aliases: Aliasen
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
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.