This section describes the Disable-MDTMonitorService Windows PowerShell cmdlet. Run this cmdlet from a Windows PowerShell console that has the MDT PowerShell snap-in loaded. For more information on how to start a Windows PowerShell console that has the MDT PowerShell snap-in loaded, see Loading the MDT Windows PowerShell Snap-In.

Syntax

Disable-MDTMonitorService [<CommonParameters>]

Description

This cmdlet disables the MDT monitoring service, which runs on the computer where MDT is installed. The MDT monitoring service collects monitoring information that can be displayed:

·     In the Monitoring node in a deployment share in the Deployment Workbench

·     Using the Get-MDTMonitorData cmdlet

The MDT monitoring service can subsequently be enabled using the Enable-MDTMonitorService.

For more information on the MDT monitoring service, see the section Monitoring MDT Deployments in the MDT document, Using the Microsoft Deployment Toolkit.

Parameters

This subsection provides information about the various parameters that can be used with the Disable-MDTMonitorService cmdlet.

<CommonParameters>

This cmdlet supports the following common parameters: Verbose, Debug, ErrorAction, ErrorVariable, OutBuffer, OutVariable, WarningAction, and WarningVariable. For more information, see the topic, “about_CommonParameters,” which you can accessed by typing the following command, and then pressing ENTER:

Get-Help about_CommonParameters

Outputs

This cmdlet outputs a String type object if the Verbose common parameter is included; otherwise, no output is generated.

Example 1

Disable-MDTMonitorService

Description

This example disables the MDT monitoring service.

Related Topics

MDT Windows PowerShell Cmdlets