Skip to main content

New answers tagged

0 votes
Accepted

Script to empty 1st & 2nd stage recycling bins from all sites in SharePoint

I decided to give the -Connection parameter of Clear-PnPRecycleBinItem a try. Considering we have 42 SharePoint sites (as of current) and we have MFA enabled, I was expecting a headache, but it ...
FotS's user avatar
  • 1
0 votes

Script to empty 1st & 2nd stage recycling bins from all sites in SharePoint

I suggest you try the following two methods: 1. #Parameter $TenantAdminURL = "https://Crescent-admin.sharepoint.com" #Connect to Admin Center Connect-PnPOnline -Url $TenantAdminURL -...
Amy Jiang_MSFT's user avatar
0 votes

Can I use the Copy-PnPFolder to copy local files to SharePoint?

Ability to upload files and folders from the local folder to SharePoint online using PnP PowerShell is recently added to PnP PowerShell module. It is not available in PnP PowerShell version 1.11.0. It ...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

Find large files and folders exceeding 400 characters limits

To find files and folders exceeding the 400 character URL limit for migration to SharePoint Online, you can use PowerShell to generate a CSV file with the file and folder paths. Here's an example ...
Allen_MSFT's user avatar
  • 1,066

Top 50 recent answers are included