I could be wrong, but I doubt that the file system folder for the profile (C:\Users\Whatever) has any impact on this. Since you are running a .ps1 file, add a few commands to it to verify that impersonation is working and that you can access network shares.
whoami.exe
net.exe view \\SomeFileServerName
Test-NetConnection -ComputerName My.Sharepoint.Site.Name -Port 443
Invoke-WebRequest HTTPS://My.Sharepoint.Site.Name
Whoami should return domain\ABC. Net view should just list the file shares that are available on a server. If Net shows an error, then look at the security eventlog on SomeFileServerName and see what error was generated that prevented ABC from authenticating.
The last 2 statements will test basic connectivity to your Sharepoint site.