Get-SPOCrossGeoMovedUsers

在多地理位置租户中,返回已移动的 SharePoint Online 用户 (或用户) 。

语法

Default (默认值)

Get-SPOCrossGeoMovedUsers
    -Direction <String>
    [<CommonParameters>]

说明

此 cmdlet 允许将移动的用户移出和当前 SPO 网站。 它需要连接到多地理位置租户才能正确运行。 您必须是 SharePoint Online 管理员,才能将移动的用户移出当前 SPO 网站。

示例

示例 1

Get-SPOCrossGeoMovedUsers -Direction MoveIn

获取已在当前 SPO 站点中移动的跨用户

示例 2

Get-SPOCrossGeoMovedUsers -Direction MoveOut

获取已移出当前 SPO 站点的跨用户

参数

-Direction

适用:SharePoint Online 用于指定移动方向。

可能的值

  • MoveIn
  • MoveOut

参数属性

类型:System.String
默认值:None
接受的值:MoveIn, MoveOut
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

None

输出

System.Object