Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-AzurePublicIP

Set-AzurePublicIP

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

Set-AzurePublicIP [-PublicIPName] <string> [[-IdleTimeoutInMinutes] <int>] -VM <IPersistentVM> [<CommonParameters>]

Syntax

Set-AzurePublicIP [-PublicIPName] [-IdleTimeoutInMinutes] [-VM] [<CommonParameters>]

Detailed Description

Adds a new Public IP to the virtual machine. The public ip is really assigned when the virtual machine is updated.

Parameters

-PublicIPName <String>

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-IdleTimeoutInMinutes <Nullable`1[Int32]>

TCP Idle timeout in minutes

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-VM <IPersistentVM>

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue, ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

Microsoft.WindowsAzure.Commands.ServiceManagement.Model.IPersistentVM

Notes

Examples

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

Description

PS C:\> Get-AzureVM -ServiceName FTPInAzure -Name FTPInstance | Set-AzurePublicIP -PublicIPName ftpip | Update-AzureVM

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

Description

PS C:\> New-AzureVMConfig -Name "FTPInstance" -InstanceSize Small -ImageName $images[50].ImageName | Add-AzureProvisioningConfig -Windows -AdminUsername xyz -Password abcd123! | Set-AzurePublicIP -PublicIPName "ftpip" | New-AzureVM -ServiceName "FTPinAzure" -Location "North Central US"

Unknown