< Back
Disconnect-Office365
Post
NAME Disconnect-Office365
SYNOPSIS
Disconnects Office 365 sessions. You can specify which service you want to disconnect.
SYNTAX
Disconnect-Office365 [-AzureAD] [-SharePoint] [-Exchange] [-Skype] [-Teams] [-Compliance] [-PNP]
[<CommonParameters>]
DESCRIPTION
Disconnects Office 365 sessions. You can specify which service you want to disconnect.
If you do not specify a specific service, all servies will be disconnected.
PARAMETERS
-AzureAD [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SharePoint [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Exchange [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Skype [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Teams [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Compliance [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-PNP [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Disconnect-Office365
Disconnects PowerShell for all services
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Disconnect-Office365 -Skype -Teams
Disconnects PowerShell for Skype for Business Online and Microsoft Teams
RELATED LINKS
SYNOPSIS
Disconnects Office 365 sessions. You can specify which service you want to disconnect.
SYNTAX
Disconnect-Office365 [-AzureAD] [-SharePoint] [-Exchange] [-Skype] [-Teams] [-Compliance] [-PNP]
[<CommonParameters>]
DESCRIPTION
Disconnects Office 365 sessions. You can specify which service you want to disconnect.
If you do not specify a specific service, all servies will be disconnected.
PARAMETERS
-AzureAD [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SharePoint [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Exchange [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Skype [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Teams [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Compliance [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-PNP [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Disconnect-Office365
Disconnects PowerShell for all services
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Disconnect-Office365 -Skype -Teams
Disconnects PowerShell for Skype for Business Online and Microsoft Teams
RELATED LINKS