ConvertTo-DecimalIP

SYNOPSIS

Converts a given IPv4 to decimal

SYNTAX

ConvertTo-DecimalIP [-IPAddress] <IPAddress> [<CommonParameters>]

DESCRIPTION

Converts a given IPv4 to decimal

EXAMPLES

Convert an IP

PS C:\> ConvertTo-DecimalIP -IPAddress 192.168.2.101

Returns 3232236133

PARAMETERS

-IPAddress

The IPv4 address to convert

Type: IPAddress
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
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

NOTES