I’ve been trying to update a SharePoint calendar using PowerShell (say I have a .csv file with calendar events in it) and have not been successful. Could you walk me through this action? Starting with how to load SharePoint-related frameworks into PowerShell? I’m a complete PowerShell and SharePoint beginner… I think this is where I’m getting stuck. I can provide more details if necessary.
Share
I assume you have access to the Sharepoint server, if that’s the case then the first step will be to load the Sharepoint Library as follows:
After that you can get the default Calendar list as follows:
I’m not sure how to progress from here as I haven’t done this before, but you can experiment with the AddItem function of the $Calendar object. I can further look into this tomorrow, but in the meantime feel free to experiment and let me know if you need further help.