Skip to content

Remove-IBConfig

Synopsis

Remove a WAPI connection profile.

Syntax

Specific

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

All

Remove-IBConfig [-AllProfiles] [<CommonParameters>]

Description

When called with no parameters, the currently active connection profile will be removed. When called with -ProfileName, the specified profile will be removed. When called with -AllProfiles, all profiles will be removed.

Examples

Example 1: Remove current profile

Remove-IBConfig

Remove the currently active connection profile.

Example 2: Remove all profiles

Remove-IBConfig -AllHosts

Remove all connection profiles.

Parameters

-AllProfiles

If set, all profiles will be removed.

Type: SwitchParameter
Parameter Sets: All
Aliases:

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

-ProfileName

The name of the profile to remove.

Type: String
Parameter Sets: Specific
Aliases: name

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

Set-IBConfig