Skip to content

Instantly share code, notes, and snippets.

@tsweeper
Last active December 27, 2019 11:45
Show Gist options
  • Save tsweeper/5d62fd8dde7b97f7514f1ec8a55f9603 to your computer and use it in GitHub Desktop.
Save tsweeper/5d62fd8dde7b97f7514f1ec8a55f9603 to your computer and use it in GitHub Desktop.
Get installed font family names using powershell
[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")
$fonts = (New-Object System.Drawing.Text.InstalledFontCollection)
$fonts.Families.Name
# How to filter using regex?
# $fonts.Families.Name | Select-String -Pattern "F.ra"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment