May 25 2021 11:57 PM
Hi All
i have a user who reported that some of the folders/files in his OneDrive are missing. I want to export all the files and folders names from users onedrive to an excel sheeting using PowerShell. I am able to export the contents of users OneDrive recycle bin using the below syntax not sure how to export to OneDrive files and folders to csv file.
$SiteURL = "https://contoso-my.sharepoint.com/personal/John_A_contoso_com/_layouts/15/onedrive.aspx"
Connect-PnPOnline -Url $SiteURL -Credentials (Get-Credential)
Get-PnPRecycleBinItem | Export-Csv C:\temp\output.csv
Mar 01 2022 12:57 PM
Nov 21 2022 07:22 AM
Anyone have any luck finding a solution?
About 80% of my files show up in the OneDrive folder on my desktop that are on OneDrive online. I can open files in the web viewer that don't show up locally, but when I try to open in the Desktop-App I am told the file cannot be found.
Nov 21 2022 02:32 PM