Forum Discussion
kentss
Apr 03, 2020Copper Contributor
Script to rename a file in a document library to match the values in the document library columns
I'm stuck. I have a document library where files are uploaded with random names. Is it possible to write a script to rename the file when it comes into the document library to match the values in the...
Apr 03, 2020
Yep, totally possible...you can use CSOM (Client Side Object Model) in PowerShell or PnP cmdlets to do that
kentss
Apr 03, 2020Copper Contributor
Thanks for the positive answer, but would it be possible to maybe point me in a general direction as to how it is actually done with Powershell? Anything would help.
Thanks,
Kentss