external help file | Module Name | online version | schema |
---|---|---|---|
IPv4Toolbox-help.xml |
IPv4Toolbox |
2.0.0 |
Evaluates if an IPv4 Address is equal or within an IPv4 Address range.
Test-IPv4AddressWithinRange [-FirstIPv4Address] <String> [-LastIPv4Address] <String>
[-TestIPv4Address] <String> [<CommonParameters>]
Evaluates if an IPv4 Address is equal or within an IPv4 Address range.
Test-IPv4AddressWithinRange -FirstIPv4Address '192.168.1.1' -LastIPv4Address '192.168.5.21' -TestIPv4Address '192.168.6.1'
False
Test-IPv4AddressWithinRange -FirstIPv4Address '192.168.1.1' -LastIPv4Address '192.168.1.50' -TestIPv4Address '192.168.1.20'
True
The first IPv4 Address
Type: System.String
Parameter Sets: (All)
Aliases: StartingIpAddress
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The last IPv4 Address
Type: System.String
Parameter Sets: (All)
Aliases: EndingIpAddress
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The IPv4 Address to test
Type: System.String
Parameter Sets: (All)
Aliases: TestingIpAddress
Required: True
Position: 3
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.