Get-SPOUserOneDriveLocation

このコマンドレットは、ユーザー プリンシパル名、現在の場所、対応するOneDrive for Business URL、およびサイト ID を返します。 このコマンドレットは、Multi-Geo OneDrive サイトのみをサポートします。

構文

Get-SPOUserOneDriveLocation
   -UserPrincipalName <String>
   [<CommonParameters>]

説明

このコマンドは、指定したユーザーの OneDrive の場所に関する情報を返します。

-----------------------例 1-----------------------------

Get-SPOUserOneDriveLocation -UserPrincipalName admin@contoso.com

ユーザーの OneDrive の場所、URL、およびサイト ID の現在の場所を取得します。

パラメーター

-UserPrincipalName

SPO テナントの特定のユーザーに対して定義された UserPrincipalName または UPN。

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