Remove-VpnIPAddressRange
Updated: August 15, 2012
Applies To: Windows Server 2012. VPN server computer specific tasks should be run.
-Force
Overrides the normal behavior and allows deletion of the last address range, so that a new range can be added later.
-IPAddress<String>
Specifies the starting IP address of the range that has to be deleted.
[]
- Microsoft.Management.Infrastructure.CimInstance#VpnIPAddressRange
The
Microsoft.Management.Infrastructure.CimInstanceobject is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The path after the pound sign (
#) provides the namespace and class name for the underlying WMI object.
The VpnIPAddressRange object consists of the following properties:
-- The starting IPv4 address of the range that was deleted.
-- The ending IPv4 address of the range that was deleted.
Examples
EXAMPLE 1
This example removes the IP address range 30.1.1.10 (the starting IP address) through 30.1.1.30 (the ending IP address) from the IPv4 address pool for assignment to VPN clients. Only the starting IP address needs to be specified. This cmdlet automatically determines which IP address range that the starting IP corresponds.
StartIPAddress EndIPAddress -------------- ------------ 30.1.1.10 30.1.1.30
Related topics