Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 1.57 KB

Test-IPv4Address.md

File metadata and controls

76 lines (52 loc) · 1.57 KB
external help file Module Name online version schema
IPv4Toolbox-help.xml
IPv4Toolbox
2.0.0

Test-IPv4Address

SYNOPSIS

Tests a string to determine if it is a valid IPv4 Address.

SYNTAX

Test-IPv4Address [-IPv4Address] <String> [<CommonParameters>]

DESCRIPTION

Tests a string to determine if it is a valid IPv4 Address (0.0.0.0 to 255.255.255.255).

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

Test-IPv4Address -IPv4Address 192.168.0.1

True

-------------------------- EXAMPLE 2 --------------------------

Test-IPv4Address -IPv4Address 192.apple.0.1

False

-------------------------- EXAMPLE 3 --------------------------

Test-IPv4Address -IPv4Address 192.256.0.1

False

PARAMETERS

-IPv4Address

The string to test if it is a valid IPv4 Address.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Boolean

NOTES

http://www.github.com/roberttoups/IPv4Toolbox

RELATED LINKS