File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1666,12 +1666,12 @@ If ($synchash.Control_NetConfig_Rbt_Static.IsChecked){
16661666 }
16671667
16681668If ($synchash.Control_NetConfig_Tbx_VlanID.Text.Length -gt 0 ){
1669- $InstallScript += " -PublicVLan "
1669+ $InstallScript += " -PublicVlanId "
16701670 $InstallScript += $synchash.Control_NetConfig_Tbx_VlanID.Text
16711671 }
16721672
16731673If ($synchash.Control_NetConfig_Tbx_DnsForwarder.Text.Length -gt 0 ){
1674- $InstallScript += " -EnvironmentDNS "
1674+ $InstallScript += " -DNSForwarder "
16751675 $InstallScript += $synchash.Control_NetConfig_Tbx_DnsForwarder.Text
16761676 }
16771677
@@ -1743,11 +1743,11 @@ Function F_Install {
17431743 }
17441744
17451745 If ($synchash.Control_NetConfig_Tbx_VlanID.Text.Length -gt 0 ){
1746- ' -PublicVLan "' + $synchash.Control_NetConfig_Tbx_VlanID.Text + ' "' | Add-Content $filepath - NoNewline
1746+ ' -PublicVlanId "' + $synchash.Control_NetConfig_Tbx_VlanID.Text + ' "' | Add-Content $filepath - NoNewline
17471747 }
17481748
17491749 If ($synchash.Control_NetConfig_Tbx_DnsForwarder.Text.Length -gt 0 ){
1750- ' -EnvironmentDNS "' + $synchash.Control_NetConfig_Tbx_DnsForwarder.Text + ' "' | Add-Content $filepath - NoNewline
1750+ ' -DNSForwarder "' + $synchash.Control_NetConfig_Tbx_DnsForwarder.Text + ' "' | Add-Content $filepath - NoNewline
17511751 }
17521752
17531753 If ($synchash.Control_NetConfig_Tbx_TimeServer.Text.Length -gt 0 ){
You can’t perform that action at this time.
0 commit comments