< Back
ConvertFrom-HexIP
Post
NAME ConvertFrom-HexIP
SYNOPSIS
Converts a hexadecimal IP address into a dotted decimal string.
SYNTAX
ConvertFrom-HexIP [-IPAddress] <String> [<CommonParameters>]
DESCRIPTION
ConvertFrom-HexIP takes a hexadecimal string and returns a dotted decimal IP address. An intermediate call is made
to ConvertTo-DottedDecimalIP.
PARAMETERS
-IPAddress <String>
An IP Address to convert.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
System.Net.IPAddress
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>ConvertFrom-HexIP c0a80001
Returns the IP address 192.168.0.1.
RELATED LINKS
SYNOPSIS
Converts a hexadecimal IP address into a dotted decimal string.
SYNTAX
ConvertFrom-HexIP [-IPAddress] <String> [<CommonParameters>]
DESCRIPTION
ConvertFrom-HexIP takes a hexadecimal string and returns a dotted decimal IP address. An intermediate call is made
to ConvertTo-DottedDecimalIP.
PARAMETERS
-IPAddress <String>
An IP Address to convert.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
System.Net.IPAddress
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>ConvertFrom-HexIP c0a80001
Returns the IP address 192.168.0.1.
RELATED LINKS