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

Roc Ribera 1 Reputation point
2020-07-02T09:49:24.9+00:00

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.

Changes:

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?

11225-add-fontps1.txt

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
    2020-07-02T13:24:34.207+00:00

    Hi,

    Windows Development is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

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

    Windows Desktop Development:
    https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?category=windowsdesktopdev

    Scripting:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG

    PowerShell:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=winserverpowershell

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

    Best regards,
    Leon

    1 person found this answer helpful.