Link to home
Start Free TrialLog in
Avatar of janhoedt
janhoedt

asked on

Powershell sccm: ip boundary in variable?

Hi,

How do I set an ip boundary variable in Powershell (what type or other config)?

If I do it like this, I get an error (sccm boundary config):

$Iprange = '192.168.1.100-192.168.1.200'
 New-CMBoundary -type IPRange -Value $iprange -name "My IP range"

Works fine via  New-CMBoundary -type IPRange -Value 192.168.1.100-192.168.1.200' -name "My IP range"


Thanks.
J.
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial