Find a SharePoint List’s Internal Column Names with PowerShell
Your script asks for a column by the name on screen and gets an empty string back. Every column has two names, renaming never changes the one that matters, and Created By is called Author.