external help file | Module Name | online version | schema |
---|---|---|---|
IPv4Toolbox-help.xml |
IPv4Toolbox |
2.0.0 |
Outputs a list of IPv4 Addresses from a CIDR address range.
Out-SubnetRange [-Subnet] <String> [-Prefix <Int32>] [<CommonParameters>]
Out-SubnetRange [-Subnet] <String> -SubnetMask <String> [<CommonParameters>]
Outputs a list of IPv4 Addresses from a CIDR address range.
Out-SubnetRange -Subnet 192.168.1.0 -Prefix 28
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4
192.168.1.5
192.168.1.6
192.168.1.7
192.168.1.8
192.168.1.9
192.168.1.10
192.168.1.11
192.168.1.12
192.168.1.13
192.168.1.14
The Prefix of the IPv4 Address range
Type: System.Int32
Parameter Sets: Prefix
Aliases:
Required: False
Position: Named
Default value: 24
Accept pipeline input: False
Accept wildcard characters: False
The subnet id of the IPv4 Address range
Type: System.String
Parameter Sets: (All)
Aliases: IPv4Address
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The Subnet Mask of the IPv4 Address range
Type: System.String
Parameter Sets: SubnetMask
Aliases: Mask
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This function will output usable IP space.