Skip to content

Instantly share code, notes, and snippets.

@mczerniawski
Created July 26, 2017 20:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mczerniawski/c170281ed3ce75ac2fe59ce7d44ce9d0 to your computer and use it in GitHub Desktop.
Save mczerniawski/c170281ed3ce75ac2fe59ce7d44ce9d0 to your computer and use it in GitHub Desktop.
$folder.CopyHere($item.FullName, $copyFlag)
$regTest = Get-ItemProperty -Path $fontRegistryPath -Name "*$FontName*" -ErrorAction SilentlyContinue
if (-not ($regTest)) {
New-ItemProperty -Name $FontName -Path $fontRegistryPath -PropertyType string -Value $item.Name
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment