Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Latest commit

 

History

History
39 lines (25 loc) · 882 Bytes

Convert-IPv4Address.README.md

File metadata and controls

39 lines (25 loc) · 882 Bytes

Convert-IPv4Address

Convert an IPv4-Address to Int64 and vise versa.

Description

Convert an IPv4-Address to Int64 and vise versa. The result will contain the IPv4-Address as string and Int64.

Screenshot

Syntax

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

Convert-IPv4Address [-Int64] <Int64> [<CommonParameters>]

Example 1

PS> Convert-IPv4Address -IPv4Address "192.168.0.1"   

IPv4Address      Int64
-----------      -----
192.168.0.1 3232235521

Example 2

PS> .\Convert-IPv4Address.ps1 -Int64 2886755428

IPv4Address         Int64
-----------         -----
172.16.100.100 2886755428