共用方式為


Remove-SPOSiteUserInvitations

.

Syntax

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

Description

.

範例

範例 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
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-EmailAddress

Email使用者的位址。

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

-Site

指定網站集合的 URL。

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