Skip to content

Commit

Permalink
we'r'fa'w's
Browse files Browse the repository at this point in the history
  • Loading branch information
hbzhxying committed Jan 6, 2017
1 parent 91beef2 commit 02572a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified DataManagementGateway.msi
Binary file not shown.
6 changes: 4 additions & 2 deletions HAgatewayInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,11 @@ Trace-Log "Gateway download location: $gwPath"

Download-Gateway $uri $gwPath
Install-Gateway $gwPath
Register-Gateway $gatewayKey


$regkey = "hklm:\Software\Microsoft\DataTransfer\DataManagementGateway\HostService"
Trace-Log "set externalhostname for gateway"
Set-ItemProperty -Path $regkey -Name ExternalHostName -Value $vmdnsname
Trace-Log "Successfully add VM DNS name $vmdnsname in Registry"
Trace-Log "Successfully add VM DNS name $vmdnsname in Registry"

Register-Gateway $gatewayKey

0 comments on commit 02572a2

Please sign in to comment.