Show / Hide Table of Contents

Clear-OCIClientSession

SYNOPSIS

Clears the OCI Cmdlet parameter preference set in this session.

SYNTAX

Default

Clear-OCIClientSession [-RegionId] [-Profile] [-Config] [-AuthType] [-TimeOutInMillis] [-NoRetry] [<CommonParameters>]

All

Clear-OCIClientSession [-All] [<CommonParameters>]

DESCRIPTION

This cmdlet clears the preferred OCI Cmdlet parameters set in the current Powershell session.

PARAMETERS

-All

Clears all session preferences.

Type: SwitchParameter
Parameter Sets: All
Aliases: None

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-AuthType

Clears the authentication type preference for this session and defaults to API Key authentication.

Type: SwitchParameter
Parameter Sets: Default
Aliases: None

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Config

Clears the config file preference for this session.

Type: SwitchParameter
Parameter Sets: Default
Aliases: None

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-NoRetry

Clears the Noretry logic preference for this session.

Type: SwitchParameter
Parameter Sets: Default
Aliases: None

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Profile

Clears the profile preference in the config file for this session.

Type: SwitchParameter
Parameter Sets: Default
Aliases: None

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-RegionId

Clears the region preference for this session.

Type: SwitchParameter
Parameter Sets: Default
Aliases: None

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-TimeOutInMillis

Clears the max timeout preference for OCI Cmdlets in this session.

Type: SwitchParameter
Parameter Sets: Default
Aliases: None

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

  • System.Void

RELATED LINKS

  • OCIModulesDocs
  • Examples
Back to top Generated by DocFX