Skip to content

Commit de4446a

Browse files
committed
Merge pull request #14 from virmitio/master
adding a registry key to the WinRM access script for use by automation
2 parents fcaafe4 + 45095ba commit de4446a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SetupWinRMAccessSelfSigned.ps1

+4
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,7 @@ New-Item -Path wsman:\localhost\listener -transport https -address * -Certificat
9999
Set-Item wsman:\localhost\service\Auth\Basic -Value $true
100100

101101
CreateWinRMHttpsFirewallRule
102+
103+
#reg key for use by automation to verify this script has completed
104+
if (-not (Test-Path HKLM:\SOFTWARE\cloudbase)) {New-Item -Path HKLM:\SOFTWARE\cloudbase}
105+
Set-ItemProperty -Path HKLM:\SOFTWARE\cloudbase -Name WinRMAccess -Value 1

0 commit comments

Comments
 (0)