Lệnh như sau
$files = Get-ChildItem -Path D:\DU_AN\CHECK-IN\2020\VIETLINK\VietLink_681-740\VietLink_681-740\
foreach ($file in $files)
{
#$file.Name.Replace("THU-MOI-ONLINE","---" )
#$newFileName
#$file.Name
#$file.Name
$dd="D:\DU_AN\CHECK-IN\2020\VIETLINK\VietLink_681-740\VietLink_681-740\"+$file.Name
Rename-Item -Path $dd -NewName $file.Name.Replace("THU-MOI-ONLINE-21g45_MÃ KHÁCH HÀNG- KC001_MÃ KHÁCH HÀNG- ","")
#$file.Name
}