< Back

Remove-AzureRmNetworkWatcherConnectionMonitor

Tue Jan 29, 2019 9:57 pm

NAME Remove-AzureRmNetworkWatcherConnectionMonitor



SYNOPSIS

Remove connection monitor.





SYNTAX

Remove-AzureRmNetworkWatcherConnectionMonitor [-AsJob] [-Confirm] [-DefaultProfile <IAzureContextContainer>] -InputObject

<PSConnectionMonitorResult> [-PassThru] [-WhatIf] [<CommonParameters>]



Remove-AzureRmNetworkWatcherConnectionMonitor [-AsJob] [-Confirm] [-DefaultProfile <IAzureContextContainer>] -Location <String> -Name <String>

[-PassThru] [-WhatIf] [<CommonParameters>]



Remove-AzureRmNetworkWatcherConnectionMonitor [-AsJob] [-Confirm] [-DefaultProfile <IAzureContextContainer>] -Name <String> -NetworkWatcherName

<String> [-PassThru] -ResourceGroupName <String> [-WhatIf] [<CommonParameters>]



Remove-AzureRmNetworkWatcherConnectionMonitor [-AsJob] [-Confirm] [-DefaultProfile <IAzureContextContainer>] -Name <String> -NetworkWatcher

<PSNetworkWatcher> [-PassThru] [-WhatIf] [<CommonParameters>]



Remove-AzureRmNetworkWatcherConnectionMonitor [-AsJob] [-Confirm] [-DefaultProfile <IAzureContextContainer>] [-PassThru] -ResourceId <String>

[-WhatIf] [<CommonParameters>]





DESCRIPTION

The remove-AzureRmNetworkWatcherConnectionMonitor cmdlet removes the specified connection monitor.





PARAMETERS

-AsJob [<SwitchParameter>]

Run cmdlet in the background



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-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



-InputObject <PSConnectionMonitorResult>

Connection monitor object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Location <String>

Location of the network watcher.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

The connection monitor name.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-NetworkWatcher <PSNetworkWatcher>

The network watcher resource.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-NetworkWatcherName <String>

The name of network watcher.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PassThru [<SwitchParameter>]

{{Fill PassThru Description}}



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

The name of the network watcher resource group.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceId <String>

Resource ID.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.Azure.Commands.Network.Models.PSNetworkWatcher

System.String Microsoft.Azure.Commands.Network.Models.PSConnectionMonitorResult





OUTPUTS

System.Boolean







NOTES





Keywords: azure, azurerm, arm, resource, connectivity, management, manager, network, networking, network watcher, connection monitor



Example 1: Remove the specified connection monitor



PS C:\\> Remove-AzureRmNetworkWatcherConnectionMonitor -Location centraluseuap -Name cm



In this example we delete the connection monitor specified by location and name.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... orkwatcher

New-AzureRmNetworkWatcher

Get-AzureRmNetworkWatcher

Remove-AzureRmNetworkWatcher

Get-AzureRmNetworkWatcherNextHop

Get-AzureRmNetworkWatcherSecurityGroupView

Get-AzureRmNetworkWatcherTopology

Get-AzureRmNetworkWatcherTroubleshootingResult

New-AzureRmNetworkWatcherPacketCapture

New-AzureRmPacketCaptureFilterConfig

Get-AzureRmNetworkWatcherPacketCapture

Remove-AzureRmNetworkWatcherPacketCapture

Stop-AzureRmNetworkWatcherPacketCapture

New-AzureRmNetworkWatcherConnectionMonitor

Get-AzureRmNetworkWatcherConnectionMonitor

Get-AzureRmNetworkWatcherConnectionMonitorReport