Skip to content

Remove-IBHost

SYNOPSIS

Remove a host record from Infoblox.

SYNTAX

Remove-IBHost [-Hostname] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This function removes a host record from Infoblox based on the specified hostname. If the hostname does not include the DNS domain, it appends the default domain before attempting to remove the record.

EXAMPLES

EXAMPLE 1

Remove-IBHost -Hostname "server01"

Removes the host record for "server01" from Infoblox.

EXAMPLE 2

Remove-IBHost -Hostname "server01.gentgrp.gent.be"

Removes the host record for the fully qualified hostname "server01.gentgrp.gent.be" from Infoblox.

PARAMETERS

-Hostname

The hostname of the host record to be removed. If the hostname does not include the DNS domain, it will be appended automatically.

Type: String
Parameter Sets: (All)
Aliases: Target

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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.

INPUTS

OUTPUTS

NOTES