Remove-SPOSiteUserInvitations

.

语法

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

说明

.

示例

示例 1

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

本示例使用 URL 从网站中删除邮件地址为“someone@contoso.com”的用户 https://contoso.sharepoint.com/sites/Research.

参数

-CountOnly

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

-EmailAddress

Email用户的地址。

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

-Site

指定网站集的 URL。

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