Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 1.36 KB

New-IPAddress.md

File metadata and controls

64 lines (40 loc) · 1.36 KB

external help file: PoshToolbox-help.xml Module Name: PoshToolbox online version: https://gitlab.com/PoshAJ/PoshToolbox/-/blob/main/docs/New-IPAddress.md schema: 2.0.0

New-IPAddress

SYNOPSIS

Creates an IPAddress object.

SYNTAX

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

DESCRIPTION

The New-IPAddress function creates a System.Net.IPAddress object that represents an IP address.

EXAMPLES

PARAMETERS

-IPAddress

Specifies an IP address in dotted-quad notation for IPv4 and in colon-hexadecimal notation for IPv6.

Type: String[]
Parameter Sets: (All)
Aliases: Address

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This function supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

String

You can pipe an IP Address as a string to this function.

OUTPUTS

System.Net.IPAddress

Returns an IPAddress object for each resolved address.

NOTES

RELATED LINKS

None