Edit

Disable-DeliveryOptimizationVerboseLogs

Disables verbose logging for Delivery Optimization.

Syntax

Default (Default)

Disable-DeliveryOptimizationVerboseLogs
    [-Force]
    [<CommonParameters>]

Description

The Disable-DeliveryOptimizationVerboseLogs cmdlet removes the verbose tracing configuration and log size overrides that Enable-DeliveryOptimizationVerboseLogs sets.

If no verbose tracing configuration exists, the cmdlet exits without prompting or restarting the service, even when you specify Force.

Otherwise, if the Delivery Optimization service is running, the cmdlet prompts to restart it so the changes take effect. Restarting the service interrupts active downloads. If you decline the restart, the changes take effect the next time the service starts.

Examples

Example 1: Disable verbose logging

Disable-DeliveryOptimizationVerboseLogs

If a verbose tracing configuration exists, this command disables verbose logging and prompts to restart the service if it's running. Otherwise, it exits without prompting or restarting.

Example 2: Disable verbose logging without a restart prompt

Disable-DeliveryOptimizationVerboseLogs -Force

If a verbose tracing configuration exists, this command disables verbose logging and restarts the running service without prompting. The restart interrupts active downloads. If no configuration exists, the command exits without restarting the service.

Parameters

-Force

Restarts the Delivery Optimization service without prompting if it's running, so the logging changes take effect immediately. The restart interrupts active downloads. If no verbose tracing configuration exists, the cmdlet exits without restarting the service.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You can't pipe objects to this cmdlet.

Outputs

None

This cmdlet doesn't return objects. It shows logging configuration status in the console.

Notes

Run this cmdlet from an elevated PowerShell session.