Skip to content

Instantly share code, notes, and snippets.

@chelnak
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save chelnak/d731972ca500ae14cb10 to your computer and use it in GitHub Desktop.

Select an option

Save chelnak/d731972ca500ae14cb10 to your computer and use it in GitHub Desktop.
Configure BackConnectionHostNames
#Add BackConnectionHostNames
#You can use 'r for carriage return as this is a MultiLine String key
$hosts ="iaas-web.corp.local`r`niaas-mgr.corp.local`r`niaas-web-01.corp.local`r`niaas-web-02.corp.local"
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\LSA\MSV1_0 -Type MultiString -Name BackConnectionHostNames -Value $hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment