< Back

Resolve-IPAddress

Wed Jan 15, 2020 2:27 am

NAME Resolve-IPAddress



SYNOPSIS

Resolves an IP address expression using wildcard expressions to individual IP addresses.





SYNTAX

Resolve-IPAddress [-IPAddress] <String> [<CommonParameters>]





DESCRIPTION

Resolves an IP address expression using wildcard expressions to individual IP addresses.



Resolve-IPAddress expands groups and values in square brackets to generate a list of IP addresses or networks

using CIDR-notation.



Ranges of values may be specied using a start and end value using "-" to separate the values.



Specific values may be listed as a comma separated list.





PARAMETERS

-IPAddress <String>

The IPAddress expression to resolve.



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



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



PS C:\\>Resolve-IPAddress "10.[1,2].[0-2].0/24"



Returns the addresses 10.1.0.0/24, 10.1.1.0/24, 10.1.2.0/24, 10.2.0.0/24, and so on.











RELATED LINKS