Muokkaa

Jaa


Remove-SPOSiteUserInvitations

.

Syntax

Remove-SPOSiteUserInvitations
      [-Site] <SpoSitePipeBind>
      [-EmailAddress] <string>
      [-CountOnly]
      [<CommonParameters>]

Description

.

Examples

Example 1

Remove-SPOSiteUserInvitations -Site https://contoso.sharepoint.com/sites/Research -EmailAddress "someone@contoso.com"

This example removes the user with the mail address "someone@contoso.com" from the site with the url https://contoso.sharepoint.com/sites/Research.

Parameters

-CountOnly

Type:SwitchParameter
Position:3
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-EmailAddress

Email Address of the user.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-Site

Specifies the URL of the site collection.

Type:SpoSitePipeBind
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online