Functions/Show-SubnetMaskIPv4.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
function Show-SubnetMaskIPv4 {
<#
.SYNOPSIS
    Show IPv4 subnet masks
.DESCRIPTION
    Show IPv4 subnet masks. Function aliased to 'Show-SubnetMaskIP'
#>




    [CmdletBinding(ConfirmImpact='None')]
    [alias('Show-SubnetMaskIP')]
    Param ()

    begin {
        Write-Verbose -Message "Starting [$($MyInvocation.Mycommand)]"
    }

    process {
        1..32 | Get-SubnetMaskIPv4 -IncludeCIDR
    }

    end {
        Write-Verbose -Message "Ending [$($MyInvocation.Mycommand)]"
    }
}