Skip to content

Latest commit

 

History

History
136 lines (80 loc) · 4.44 KB

README.md

File metadata and controls

136 lines (80 loc) · 4.44 KB

IPv4Toolbox IPv4Toolbox PowerShell Module

Pester License PowerShell Gallery platform

Description

Module to simplify the manipulation, discovery, and testing of IPv4 Addresses .

How to deploy from the PowerShell Gallery

Install

Install-Module -Name 'IPv4Toolbox' -Scope 'CurrentUser'

Update

Update-Module -Name 'IPv4Toolbox' -Scope 'CurrentUser'

PowerShell Desired State Configuration

The PackageManagement module should be at least version 1.1.7.0 for the following property information to be correct.

PackageManagementSource PSGallery {
    Ensure             = 'Present'
    Name               = 'PSGallery'
    ProviderName       = 'PowerShellGet'
    SourceLocation     = 'https://www.powershellgallery.com/api/v2'
    InstallationPolicy = 'Trusted'
}

PackageManagement IPv4Toolbox {
    Ensure             = 'Present'
    Name               = 'IPv4Toolbox'
    Source             = 'PSGallery'
    DependsOn          = '[PackageManagementSource]PSGallery'
}

What's New

0.6.0

Functions

Converts an Inverse Address to either an IPv4 Address or Subnet in CIDR address format.

ConvertFrom-InverseAddress

Converts an IPv4 Address or Subnet into a Windows PTR Zone compatible domain name.

ConvertTo-InverseAddress

Returns all valid IPv4 Addresses in a string.

Find-IPv4Address

Returns the Public IPv4 Address of the client returned by a web API.

Get-MyPublicIP

Returns the information regarding a subnet that an IPv4 Address exists.

Get-SubnetInformation

Returns GeoIP Information for an IPv4 Address from ip-api.

Invoke-IPv4GeoLookup

Sorts an array of IPv4 Addresses including CIDR address ranges.

Invoke-IPv4ListSort

Outputs a list of IPv4 Addresses from a CIDR address range.

Out-SubnetRange

Breaks up a larger CIDR into small CIDRs.

Split-Subnet

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

Test-IPv4Address

Evaluates if an IPv4 Address is equal or within an IPv4 Address range.

Test-IPv4AddressWithinRange

Determines if an IPv4 Address is in a private address space as defined by RFC 1918 & RFC 6598.

Test-PrivateIPv4Address

License

IPv4Toolbox is provided under the Apache license.

Authored by Robert M. Toups, Jr.