Skip to content

New-IBHost

SYNOPSIS

Create a new host record in Infoblox.

SYNTAX

New-IBHost [-Hostname] <String> [-IPv4addr] <String> [-MAC] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This function creates a new host record in Infoblox with the specified hostname, IPv4 address, and MAC address. If the hostname does not include the DNS domain, it appends the default domain before creating the record.

EXAMPLES

EXAMPLE 1

New-IBHost -Hostname "server01" -IPv4addr "192.168.1.10" -MAC "00-14-22-01-23-45"

Creates a new host record in Infoblox for "server01" with the specified IPv4 and MAC addresses.

EXAMPLE 2

New-IBHost -Hostname "server01.gentgrp.gent.be" -IPv4addr "192.168.1.10" -MAC "00-14-22-01-23-45"

Creates a new host record in Infoblox for the fully qualified hostname "server01.gentgrp.gent.be" with the specified IPv4 and MAC addresses.

PARAMETERS

-Hostname

The hostname for the new host record. 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

-IPv4addr

The IPv4 address to associate with the new host record.

Type: String
Parameter Sets: (All)
Aliases:

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

-MAC

The MAC address to associate with the new host record.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
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.

INPUTS

OUTPUTS

NOTES