PowerShell script exchange
Post Reply
Dossing
Influencer
Posts: 21
Liked: 3 times
Joined: May 17, 2021 11:40 am
Full Name: Søren Døssing
Location: Denmark
Contact:

Automating Network settings of Windows Server

Post by Dossing »

Trying to automate the install of a Virtual Windows Backup Proxy running on VMware.

How can i automate the Network Settings part of adding a Windows server?
I need to change some of the ports and the Data transfer options Port range: 2500 - 3300

Image

Code: Select all

if (Get-VBRServer -Type Local) {
# Add Backup Proxy as Windows Server
    $ProxyServer = Add-VBRWinServer -Name $ProxyServerIP -Credentials $ProxyServerM2MCred -Description $ProxyServerDesc
# Add Backup Proxy as VBRProxy
    Add-VBRViProxy -Server $ProxyServer -Description $ProxyServerDesc -TransportMode HotAdd -EnableFailoverToNBD:$true
}
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Automating Network settings of Windows Server

Post by oleg.feoktistov »

Hi,

Currently it is not available through Powershell, but you can use this rest call as a workaround.

Thanks,
Oleg
Dossing
Influencer
Posts: 21
Liked: 3 times
Joined: May 17, 2021 11:40 am
Full Name: Søren Døssing
Location: Denmark
Contact:

Re: Automating Network settings of Windows Server

Post by Dossing »

Thanks Oleg,

How do I create a feature request for this in a later version ?
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Automating Network settings of Windows Server

Post by oleg.feoktistov »

You just did. Thanks!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 15 guests