Last active
December 27, 2019 11:45
-
-
Save tsweeper/5d62fd8dde7b97f7514f1ec8a55f9603 to your computer and use it in GitHub Desktop.
Get installed font family names using powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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