Enable-DeliveryOptimizationVerboseLogs
Enables verbose logging for Delivery Optimization.
Syntax
Default (Default)
Enable-DeliveryOptimizationVerboseLogs
[-Force]
[<CommonParameters>]
Description
The Enable-DeliveryOptimizationVerboseLogs cmdlet enables verbose Delivery Optimization
tracing and increases the log file and log folder size limits for troubleshooting.
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.
Use Disable-DeliveryOptimizationVerboseLogs when you finish collecting diagnostic logs.
Examples
Example 1: Enable verbose logging
Enable-DeliveryOptimizationVerboseLogs
This command enables verbose logging and prompts to restart the service if it's running.
Example 2: Enable verbose logging without a restart prompt
Enable-DeliveryOptimizationVerboseLogs -Force
This command enables verbose logging and restarts the running service without prompting. The restart interrupts active downloads.
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.
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. Verbose logging generates additional diagnostic data and uses more disk space than normal logging.