Skip to content

Get-IBConfig

Synopsis

Get one or more connection profiles.

Syntax

Specific (Default)

Get-IBConfig [[-ProfileName] <String>] [<CommonParameters>]

List

Get-IBConfig [-List] [<CommonParameters>]

Description

When calling this function with no parameters, the currently active profile will be returned. These values will be used by related function calls to the Infoblox API unless they are overridden by the function's own parameters.

When called with -ProfileName, the profile matching that name will be returned. When called with -List, all profiles will be returned.

Examples

Example 1: Current profile

Get-IBConfig

Get the current connection profile.

Example 2: List all profiles

Get-IBConfig -List

Get all connection profiles.

Parameters

-List

If set, list all connection profiles currently stored.

Type: SwitchParameter
Parameter Sets: List
Aliases:

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

-ProfileName

The name of the connection profile to return.

Type: String
Parameter Sets: Specific
Aliases:

Required: False
Position: 1
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.

Outputs

PoshIBWAPI.IBConfig

A config object

Set-IBConfig

Get-IBObject