< Back

Show-IPv4Range

Wed Jan 15, 2020 7:41 am

NAME Show-IPv4Range



SYNOPSIS

Generate a list of IPv4 addresses between the first and the last IP address.





SYNTAX

Show-IPv4Range [-FirstIP] <IPAddress> [-LastIP] <IPAddress> [<CommonParameters>]





DESCRIPTION

This function receives two IPv4 addresses and generate a list of IP addresses between the first and the last one.





PARAMETERS

-FirstIP <IPAddress>

The first IPv4 address.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-LastIP <IPAddress>

The last IPv4 address.



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



OUTPUTS



NOTES





Author: Bruno B Silva - brunobritorj@outlook.com



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Show-IPv4Range -FirstIP 10.3.255.254 -LastIP 10.4.0.2



10.3.255.254

10.3.255.255

10.4.0.0

10.4.0.1

10.4.0.2











RELATED LINKS

https://github.com/brunobritorj