Created
July 26, 2017 20:43
-
-
Save mczerniawski/92de8c9f0477822d27d1f1676eb8d859 to your computer and use it in GitHub Desktop.
This file contains 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
begin { | |
Set-Variable Fonts -Value 0x14 -Option ReadOnly | |
$fontRegistryPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" | |
$shell = New-Object -ComObject Shell.Application | |
$folder = $shell.NameSpace($Fonts) | |
$objfontFolder = $folder.self.Path | |
#$copyOptions = 20 | |
$copyFlag = [string]::Format("{0:x}",4+16) | |
$copyFlag | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment