external help file | Module Name | online version | schema |
---|---|---|---|
IPv4Toolbox-help.xml |
IPv4Toolbox |
2.0.0 |
Converts an IPv4 Address or Subnet into Windows PTR Zone compatible domain name.
ConvertTo-InverseAddress [[-IPv4Address] <String[]>] [<CommonParameters>]
ConvertTo-InverseAddress [-Subnet] <String> [-Prefix] <Int32> [<CommonParameters>]
Converts an IPv4 Address or Subnet into Windows PTR Zone compatible domain name.
ConvertTo-InverseAddress -IPv4Address '192.168.1.1'
1.1.168.192.in-addr.arpa
ConvertTo-InverseAddress -Subnet '10.2.2.0' -Prefix 22
0.2.10.in-addr.arpa
1.2.10.in-addr.arpa
2.2.10.in-addr.arpa
3.2.10.in-addr.arpa
IPv4 Address to convert to an inverse address
Type: System.String[]
Parameter Sets: IPv4Address
Aliases:
Required: False
Position: 1
Default value: 127.0.0.1
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The subnet prefix for the subnet to convert to an inverse address
Type: System.Int32
Parameter Sets: Subnet
Aliases:
Required: True
Position: 2
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
The subnet id to convert to an inverse address
Type: System.String
Parameter Sets: Subnet
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.