PowerShell script exchange
Post Reply
manuel.aigner
Enthusiast
Posts: 34
Liked: 5 times
Joined: Sep 25, 2017 8:25 am
Full Name: Manuel Aigner
Contact:

Add-VBRNetworkTrafficRule how to target internet ips

Post by manuel.aigner »

Hi there,

I have to create a lot of limiter rules for many different subnets. To avoid internet upload saturation the target ip range should be "internet" as it is configurable in B&R Console UI.
In Powershell I don't know how to declare "internet" as target. "internet" isn't a valid value and also "null" isn't allowed.

Any suggestions?
david.domask
Veeam Software
Posts: 2109
Liked: 509 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Add-VBRNetworkTrafficRule how to target internet ips

Post by david.domask »

Hi Manuel,

I checked the backing code for this cmdlet and indeed it's expecting a valid IP address as a parameter. It is possible to make a bunch of "dummy" rules with the Internet option checked and then edit those rules with Get-VBRNetworkTrafficRule/Set-VBRNetworkTrafficRule, but I'm not sure this saves you too much time ultimately :/ .

Will discuss improvements on this as the use case is pretty clear.
David Domask | Product Management: Principal Analyst
manuel.aigner
Enthusiast
Posts: 34
Liked: 5 times
Joined: Sep 25, 2017 8:25 am
Full Name: Manuel Aigner
Contact:

Re: Add-VBRNetworkTrafficRule how to target internet ips

Post by manuel.aigner »

Hi David,
thanks for confirmation, and also for possible improvement :)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests