Hi @Khurram Ansari ,
please try this to start with the script:
$filePath = "C:\Junk\1" # get files
Get-ChildItem -Path $filePath | ForEach-Object {
$b = $_ -replace ('^000', '') # replace leading 000
$_ | Rename-Item -NewName { $b } # rename file
}
This is the result:
234809.jpg
678380.jpg
53900010.jpg
539010.jpg
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten