external help file | Module Name | online version | schema |
---|---|---|---|
IPv4Toolbox-help.xml |
IPv4Toolbox |
2.0.0 |
Tests a string to determine if it is a valid IPv4 Address.
Test-IPv4Address [-IPv4Address] <String> [<CommonParameters>]
Tests a string to determine if it is a valid IPv4 Address (0.0.0.0 to 255.255.255.255).
Test-IPv4Address -IPv4Address 192.168.0.1
True
Test-IPv4Address -IPv4Address 192.apple.0.1
False
Test-IPv4Address -IPv4Address 192.256.0.1
False
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.