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