mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-20 20:44:50 +02:00
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:
commit
eda851ec61
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user