TIL: Today I learned how easy it is to send emails with Powershell and an Office 365 mail account.
Wow, it’s been a while since I last blogged – and here comes a tiny helper to upload one or more CSV file to a SharePoint Online list. I think its the best documented script I ever created…!!! The script The following script checks a folder for files – and opens them. Then each line will be uploaded to the specified SharePoint list defined by the provided mapping. The mapping is kinda straight forward.
Ages ago I created a PowerShell script that I used a couple of times by now: efficiently empty a large SharePoint list – but apparently that code does not work against a SharePoint Online list. a simple script to empty a SharePoint Online List So here is an updated version of the script: .TERMS No terms - use on your own risk! .SYNOPSIS This script efficiently empties are large list and is approximately 30 times faster than deleting item by item.