共用方式為


Export-SPOUserProfile

將使用者配置檔數據匯出至 csv 檔案。

語法

Default (預設值)

Export-SPOUserProfile
    -LoginName <String>
    [-OutputFolder <String>]
    [<CommonParameters>]

Description

將使用者配置檔數據匯出至 csv 檔案。

如需有關適用於 SharePoint Online 的 Windows PowerShell 權限和最新資訊,請參閱位於 SharePoint Online Management Shell 簡介的線上文件。

範例

範例 1

Export-SPOUserProfile -LoginName joe.healy@contoso.com -OutputFolder "C:\users\admin\exportfolder"

範例 1 會將具有電子郵件地址 joe.healy@contoso.com 的用戶數據匯出至資料夾 “C:\users\admin\exportfolder”。

參數

-LoginName

適用:SharePoint Online

指定匯出資料之使用者的登入名稱。

參數屬性

類型:System.String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-OutputFolder

適用:SharePoint Online

指定 CSV 檔案建立所在的輸出資料夾位置。

參數屬性

類型:System.String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters

輸入

None

輸出

System.Object