Skip to content

Latest commit

 

History

History
116 lines (87 loc) · 2.33 KB

Disconnect-AzureAD.md

File metadata and controls

116 lines (87 loc) · 2.33 KB
external help file Module Name online version schema
Microsoft.Open.Azure.AD.CommonLibrary.dll-Help.xml
AzureAD
2.0.0

Disconnect-AzureAD

SYNOPSIS

Disconnects the current session from an Azure Active Directory tenant.

SYNTAX

Disconnect-AzureAD [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

The Disconnect-AzureAD cmdlet disconnects the current session from an Azure Active Directory tenant.

EXAMPLES

Example 1: Disconnect your session from a tenant

PS C:\> Disconnect-AzureAD

This command disconnects your session from a tenant.

PARAMETERS

-InformationAction

Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:

  • Continue
  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type: ActionPreference
Parameter Sets: (All)
Aliases: infa

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

-InformationVariable

Specifies a variable in which to store an information event message.

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

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

-Confirm

Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.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: False
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

RELATED LINKS

Connect-AzureAD