No need to either hard code a servername nor to use @LServer.

$inifile = "\\domain.tld\netlogon\inifile.ini"
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.