Merge pull request #348 from wesmcouch/patch-1

Allow powershell script to be ran from any location and update to pow…
This commit is contained in:
Manoj Ampalam 2016-10-02 22:41:26 -07:00 committed by GitHub
commit eda851ec61

View File

@ -1,4 +1,4 @@
copy .\ssh-lsa.dll $env:windir\system32 Copy-Item -Path $PSScriptRoot\ssh-lsa.dll -Destination "$env:windir\system32"
$subkey = 'SYSTEM\CurrentControlSet\Control\Lsa' $subkey = 'SYSTEM\CurrentControlSet\Control\Lsa'
$value = 'Authentication Packages' $value = 'Authentication Packages'
$reg = [Microsoft.Win32.RegistryKey]::OpenBaseKey('LocalMachine', 0) $reg = [Microsoft.Win32.RegistryKey]::OpenBaseKey('LocalMachine', 0)