Relative Content

Tag Archive for powershellsharepoint-online

PnP Powershell Update List Item

Trying to update a column for a number of folders in SharePoint online. I have a CSV with the Item ID and the update for the column. Here is the code:

what do i need to access sharepoint files directly without downloading them?

i have a large files on sharepoint site more than 1tb and im trying to detect duplicated files and i found this powershell script on Microsoft forum and i did run it on my pc i tested it , it runs perfectly but the only issue that it needs to download the files locally , i did my research i saw that there is a sharepoint powershell to run powershell scripts on sharepoint server and my question is how to access the files directly without downloading them if i want to run the script on sharepoint server.

Powershell 7 Invoke-Restmethod Upload to SharePoint Online Circular Errors

I’m trying to upload a file to SharePoint Online from a Powershell script via Invoke-RestMethod When I use a hash table as the header the response says the entity wants a JSON header. When I convert the header to JSON it says it can’t bind the header because it can’t convert a type string to a type IDictionary.