I have a PowerShell script that runs daily and is used to filter through all the files in a folder as there are 2000+ and do a find and replace of a character and replace with a linebreak. Character shows as, up arrow character in notepad, an FF character in notepad++
I have images below as well
$filename = Get-ChildItem "C:\Scripts\*filename*.*"
$filename | % {
(gc $_) -replace "","`n`f" | Set-Content $_.fullname
}
As seen, in the code block it doesn't show the arrow, but as text it does. I can do a manual find and replace but when it runs the PowerShell script from the task schedule it doesn't pick anything up to replace it seems. Is there a different way of going about this?
Any help is appreciated!

From what I can see in tests, by default Get-Content doesn't default to getting content in Unicode format, so I'd guess it's defaulting to ASCII (but don't know for sure).
So in your script you'll want to specify the encoding to force it to use that. I'd also suggest referencing the specific character via it's UNICODE number rather than the symbol, that way you don't need to worry about the format of the script file, or the editor you're using. The following should do what you need (or at least does on my machine).