Script to install fonts (including .pfm/.pfb)

Roc Ribera 1 Reputation point

I found this script somewhere in the Microsoft website that enables to install fonts, but it doesn't support ".pfm" and ".pfb" files, it says it should be enabled somehow. I'm looking to fix the script but don't manage to do it on my own. I'll attach the script I have right now and mention the changes I've done to it to try and support these files. If anyone can send me a version that enables those extensions or can lead me to a good direction I'd be very thankful.


It's not working for me, I use this script with a path to a folder in the following format powershell.exe \\path\to\script.ps1 -path \\path\to\folder\with\fonts\. Can someone help me?


Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,671 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 85,721 Reputation points


    Windows Development is currently not supported in the Q&A forums, the supported products are listed over here (more to be added later on).

    You can ask the experts in the dedicated forums over here:

    Windows Desktop Development:



    (Please don't forget to accept helpful replies as answer)

    Best regards,

    1 person found this answer helpful.