Skip to content

Commit

Permalink
adding a registry key to the WinRM access script for use by automation
Browse files Browse the repository at this point in the history
  • Loading branch information
virmitio committed Aug 25, 2014
1 parent fcaafe4 commit 45095ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SetupWinRMAccessSelfSigned.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,7 @@ New-Item -Path wsman:\localhost\listener -transport https -address * -Certificat
Set-Item wsman:\localhost\service\Auth\Basic -Value $true

CreateWinRMHttpsFirewallRule

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

0 comments on commit 45095ba

Please sign in to comment.