< Back

Stop-AzureRmNetworkWatcherConnectionMonitor

Tue Jan 29, 2019 9:58 pm

NAME Stop-AzureRmNetworkWatcherConnectionMonitor



SYNOPSIS

Stop a connection monitor





SYNTAX

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

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



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

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



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

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



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

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



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

[-WhatIf] [<CommonParameters>]





DESCRIPTION

The Stop-AzureRmNetworkWatcherConnectionMonitor cmdlet stops 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: Stop a connection monitor



PS C:\\> Stop-AzureRmNetworkWatcherConnectionMonitor -NetworkWatcher $nw -Name cm



In this example we stop connection monitor specified by name and network watcher







RELATED LINKS

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

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

Remove-AzureRmNetworkWatcherConnectionMonitor

Set-AzureRmNetworkWatcherConnectionMonitor

Start-AzureRmNetworkWatcherConnectionMonitor