< Back
Get-AzureRmPublicIpAddress
Post
NAME Get-AzureRmPublicIpAddress
SYNOPSIS
Gets a public IP address.
SYNTAX
Get-AzureRmPublicIpAddress [-DefaultProfile <IAzureContextContainer>] -ExpandResource <String> -Name <String> -ResourceGroupName <String>
[<CommonParameters>]
Get-AzureRmPublicIpAddress [-DefaultProfile <IAzureContextContainer>] -ExpandResource <String> -IpConfigurationName <String> -Name <String>
-NetworkInterfaceName <String> -ResourceGroupName <String> -VirtualMachineIndex <String> -VirtualMachineScaleSetName <String> [<CommonParameters>]
Get-AzureRmPublicIpAddress [-DefaultProfile <IAzureContextContainer>] [-IpConfigurationName <String>] [-Name <String>] [-NetworkInterfaceName
<String>] -ResourceGroupName <String> [-VirtualMachineIndex <String>] [-VirtualMachineScaleSetName <String>] [<CommonParameters>]
Get-AzureRmPublicIpAddress [-DefaultProfile <IAzureContextContainer>] [-Name <String>] [-ResourceGroupName <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmPublicIPAddress cmdlet gets one or more public IP addresses in a resource group.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ExpandResource <String>
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-IpConfigurationName <String>
Network Interface IP Configuration Name.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Name <String>
Specifies the name of the public IP address that this cmdlet gets.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-NetworkInterfaceName <String>
Virtual Machine Network Interface Name.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the resource group that contains the public IP address that this cmdlet gets.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-VirtualMachineIndex <String>
Virtual Machine Index.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-VirtualMachineScaleSetName <String>
Virtual Machine Scale Set Name.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSPublicIpAddress
NOTES
1: Get a public IP resource
$publicIp = Get-AzureRmPublicIpAddress -Name $publicIpName -ResourceGroupName $rgName $publicIp
This command gets a public IP address resource with name $publicIPName in the resource group $rgName.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... cipaddress
New-AzureRmPublicIpAddress
Remove-AzureRmPublicIpAddress
Set-AzureRmPublicIpAddress
SYNOPSIS
Gets a public IP address.
SYNTAX
Get-AzureRmPublicIpAddress [-DefaultProfile <IAzureContextContainer>] -ExpandResource <String> -Name <String> -ResourceGroupName <String>
[<CommonParameters>]
Get-AzureRmPublicIpAddress [-DefaultProfile <IAzureContextContainer>] -ExpandResource <String> -IpConfigurationName <String> -Name <String>
-NetworkInterfaceName <String> -ResourceGroupName <String> -VirtualMachineIndex <String> -VirtualMachineScaleSetName <String> [<CommonParameters>]
Get-AzureRmPublicIpAddress [-DefaultProfile <IAzureContextContainer>] [-IpConfigurationName <String>] [-Name <String>] [-NetworkInterfaceName
<String>] -ResourceGroupName <String> [-VirtualMachineIndex <String>] [-VirtualMachineScaleSetName <String>] [<CommonParameters>]
Get-AzureRmPublicIpAddress [-DefaultProfile <IAzureContextContainer>] [-Name <String>] [-ResourceGroupName <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmPublicIPAddress cmdlet gets one or more public IP addresses in a resource group.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ExpandResource <String>
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-IpConfigurationName <String>
Network Interface IP Configuration Name.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Name <String>
Specifies the name of the public IP address that this cmdlet gets.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-NetworkInterfaceName <String>
Virtual Machine Network Interface Name.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the resource group that contains the public IP address that this cmdlet gets.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-VirtualMachineIndex <String>
Virtual Machine Index.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-VirtualMachineScaleSetName <String>
Virtual Machine Scale Set Name.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSPublicIpAddress
NOTES
1: Get a public IP resource
$publicIp = Get-AzureRmPublicIpAddress -Name $publicIpName -ResourceGroupName $rgName $publicIp
This command gets a public IP address resource with name $publicIPName in the resource group $rgName.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... cipaddress
New-AzureRmPublicIpAddress
Remove-AzureRmPublicIpAddress
Set-AzureRmPublicIpAddress