ipof

List the ip addresses of a url


Version    : 1.0
File Name  : ipof.ps1
Author     : Adewale Azeez - iamthecarisma@gmail.com
Date       : March-25-2020

List all the host addresses of a particular url. Internet connection is required to fetch the ip addresses.

Syntax

ipof [[-URL] <String>] [-Head] [<CommonParameters>]

Parameters

-URL :String

the url to fetch it ip addresses

attr

value

Required?

false

Position?

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Head [:SwitchParameter]

Use the Invoke-WebRequest with Method HEAD to find Ip

attr

value

Required?

false

Position?

named

Default value

False

Accept pipeline input?

false

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.String]

EXAMPLE 1

ipof google.com

List all the ip addresses of Google url

EXAMPLE 2

ipof https://www.github.com

List all the ip addresses of Github