carloxp
10/12/2018 - 8:35 AM

powershell install fonts

powershell install fonts

$objShell = New-Object -ComObject Shell.Application
$objFolder = $objShell.Namespace(0x14)

$Fonts = Get-ChildItem -Recurse -Include *.ttf,*.otf

foreach($File in $Fonts) {
  $objFolder.CopyHere($File.fullname)
}