< Back
Remove-AzurePublicIP
Post
NAME Remove-AzurePublicIP
SYNOPSIS
Removes Public IP configuration from an Azure virtual machine.
SYNTAX
Remove-AzurePublicIP [[-PublicIPName] <String>] -VM <IPersistentVM> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]
[-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AzurePublicIP cmdlet removes Public IP configuration from an Azure virtual machine.
PARAMETERS
-PublicIPName <String>
Specifies the Public IP name.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-VM <IPersistentVM>
Specifies the virtual machine from which this cmdlet removes Public IP configuration.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue, ByPropertyName)
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Microsoft.WindowsAzure.Commands.ServiceManagement.Model.IPersistentVM
NOTES
-------------------------- Example 1: Remove Public IP configuration --------------------------
PS C:\\>Get-AzureVM -ServiceName "FTPInAzure" -Name "FTPInstance" | Remove-AzurePublicIP | Update-AzureVM
This command gets the virtual machine named FTPInstance in the service named FTPInAzure by using the Get-AzureVM cmdlet. The command passes that virtual
machine to the current cmdlet by using the pipeline operator. The current cmdlet removes Public IP configuration from the virtual machine. The command
passes the virtual machine to the Update-AzureVM cmdlet, which implements your changes.
RELATED LINKS
Get-AzurePublicIP
Get-AzureVM
Set-AzurePublicIP
Update-AzureVM
SYNOPSIS
Removes Public IP configuration from an Azure virtual machine.
SYNTAX
Remove-AzurePublicIP [[-PublicIPName] <String>] -VM <IPersistentVM> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]
[-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AzurePublicIP cmdlet removes Public IP configuration from an Azure virtual machine.
PARAMETERS
-PublicIPName <String>
Specifies the Public IP name.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-VM <IPersistentVM>
Specifies the virtual machine from which this cmdlet removes Public IP configuration.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue, ByPropertyName)
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Microsoft.WindowsAzure.Commands.ServiceManagement.Model.IPersistentVM
NOTES
-------------------------- Example 1: Remove Public IP configuration --------------------------
PS C:\\>Get-AzureVM -ServiceName "FTPInAzure" -Name "FTPInstance" | Remove-AzurePublicIP | Update-AzureVM
This command gets the virtual machine named FTPInstance in the service named FTPInAzure by using the Get-AzureVM cmdlet. The command passes that virtual
machine to the current cmdlet by using the pipeline operator. The current cmdlet removes Public IP configuration from the virtual machine. The command
passes the virtual machine to the Update-AzureVM cmdlet, which implements your changes.
RELATED LINKS
Get-AzurePublicIP
Get-AzureVM
Set-AzurePublicIP
Update-AzureVM