Hi @Watson, Adam ,
Do you have to rename the targeted files through the mapping drive? Is it acceptable to use pnp powershell?
#Set Variables
$SiteURL = "https://abc.sharepoint.com/sites/s01"
#Connect to PNP Online
Connect-PnPOnline -Url $SiteURL -UseWebLogin
$files= Find-PnPFile -List "Documents" -Match *.png
foreach ($f in $files) {
$f.ServerRelativeUrl
$name= '0'+ $f.Name // rename it with your own name
Rename-PnPFile -TargetFileName $name -ServerRelativeUrl $f.ServerRelativeUrl
}
Or
Best Regards,
Baker Kong
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.