# 実行 PS > Get-URLEncode -VALUE "あいうえお" -ENCODING "utf-8" %e3%81%82%e3%81%84%e3%81%86%e3%81%88%e3%81%8a
# 実行 PS > Get-URLDecode-VALUE "%e3%81%82%e3%81%84%e3%81%86%e3%81%88%e3%81%8a" -ENCODING "utf-8" あいうえお
$FolderPath = "C:\sample" $Include = "*.xls" $Befor = "\[" $After = "【" Get-ChildItem $FolderPath -Recurse -Include $Include | ForEach-Object{ Replace-FileName -FilePath $_.FullName -Befor $Befor -After $After }