Copy files from network location in remote session

Hi all. I have been trying to copy some files from our network drive to some remote computers. We have the files located at \fileservPublicfonts If I am logged on the machine I can make a psdrive to that location. If I am logged on as an end user I can also do this. I can type it into explorer and see the files. This Public folder is mapped on all of these computers as P:

Now if I am in a remote pssession I cannot target this \fileservPublic at all. It just doesn’t exist. Neither does P:

I just need to get these font files into the C:WindowsFonts folder and make the Registry keys to make the fonts active in windows to make them work for my users.

If there is a more elegant way to install a font with powershell I would be all ears.

submitted by /u/Syndrome1986
[link] [comments]

Leave a Reply