Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-SPOExternalUser

Remove-SPOExternalUser

microsoft.online.sharepoint.powershell.dll, microsoft.online.sharepoint.powershell-1.dll

Synopsis

Removes a collection of external users from the tenancy's folder.

Syntax

Remove-SPOExternalUser [-UniqueIDs] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Remove-SPOExternalUser cmdlet permanently removes a collection of external users from the tenancy's folder.

Users who have been removed lose access to all tenant resources.

For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251832 (http://go.microsoft.com/fwlink/p/?LinkId=251832).

Parameters

-UniqueIDs <String[]>

Specifies an ID that can be used to identify an external user based on their Windows Live ID.

Aliases

None

Required?

True

Position

2

Default value

Accept pipeline input?

False

Accept wildcard characters?

False

-Confirm <SwitchParameter>

Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters

Aliases

None

Required?

False

Position

Named

Default value

Accept pipeline input?

False

Accept wildcard characters?

False

-WhatIf <SwitchParameter>

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Aliases

None

Required?

False

Position

Named

Default value

Accept pipeline input?

False

Accept wildcard characters?

False

Input Type

Return Type

Notes

None

Examples

------------EXAMPLE-----------

This example removes an external user with the Windows Live ID, 10037FFE801.

C:\PS>Remove-SPOExternaltUser -UnqiueIDs @("10037FFE801@live.com")

Introduction to the SharePoint Online management shell
Set up the SharePoint Online Management Shell Windows PowerShell environment
Get-SPOExternalUser