< Back

Get-NetworkSummary

Wed Jan 15, 2020 2:26 am

NAME Get-NetworkSummary



SYNOPSIS

Generates a summary describing several properties of a network range





SYNTAX

Get-NetworkSummary [-IPAddress] <String> [[-SubnetMask] <String>] [<CommonParameters>]





DESCRIPTION

Get-NetworkSummary uses many of the IP conversion commands to provide a summary of a network range from any IP

address in the range and a subnet mask.





PARAMETERS

-IPAddress <String>

Either a literal IP address, a network range expressed as CIDR notation, or an IP address and subnet mask in a

string.



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-SubnetMask <String>

A subnet mask as an IP address.



Required? false

Position? 3

Default value

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

Indented.Net.IP.NetworkSummary





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



PS C:\\>Get-NetworkSummary 192.168.0.1 255.255.255.0













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-NetworkSummary 10.0.9.43/22













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-NetworkSummary 0/0















RELATED LINKS