Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: DeliveryOptimizationSettings.psm1-help.xml
Module Name: DeliveryOptimization
ms.date: 02/21/2024
ms.date: 11/02/2026
online version: https://learn.microsoft.com/powershell/module/deliveryoptimization/delete-deliveryoptimizationcache?view=windowsserver2025-ps&wt.mc_id=ps-gethelp
schema: 2.0.0
title: Delete-DeliveryOptimizationCache
Expand All @@ -11,6 +11,8 @@ title: Delete-DeliveryOptimizationCache

## SYNOPSIS

Deletes files from the Delivery Optimization cache.

## SYNTAX

```
Expand All @@ -20,23 +22,47 @@ Delete-DeliveryOptimizationCache [[-FileId] <String>] [-IncludePinnedFiles] [-Fo

## DESCRIPTION

{{ Fill in the Description }}
The `Delete-DeliveryOptimizationCache` cmdlet deletes cached Delivery Optimization files and
their associated persisted data. By default, pinned files aren't deleted.

Use the **FileId** parameter to delete a specific file. If you omit **FileId**, the cmdlet
deletes all eligible files in the cache. Use **IncludePinnedFiles** to also delete pinned files.

The cmdlet prompts before deleting files unless you specify **Force**. Deletion can't be undone.

## EXAMPLES

### Example 1
### Example 1: Clear the cache without deleting pinned files

```powershell
Delete-DeliveryOptimizationCache
```

This command prompts for confirmation, then deletes unpinned files from the cache.

### Example 2: Delete a specific cached file

```powershell
Delete-DeliveryOptimizationCache -FileId '0123456789abcdef0123456789abcdef'
```

This command prompts before deleting the specified file. Replace the example ID with a
**FileId** returned by `Get-DeliveryOptimizationStatus`.

### Example 3: Delete all cached files, including pinned files

```powershell
PS C:\> {{ Add example code here }}
Delete-DeliveryOptimizationCache -IncludePinnedFiles -Force
```

{{ Add example description here }}
This command deletes both pinned and unpinned files without prompting.

## PARAMETERS

### -FileId

{{ Fill FileId Description }}
Specifies the ID of the cached file to delete. Use `Get-DeliveryOptimizationStatus` to find
file IDs. If you omit this parameter, the cmdlet deletes all eligible cached files.

```yaml
Type: System.String
Expand All @@ -52,7 +78,8 @@ Accept wildcard characters: False

### -Force

{{ Fill Force Description }}
Deletes files without prompting for confirmation. This parameter doesn't allow deletion of
pinned files unless you also specify **IncludePinnedFiles**.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand All @@ -68,7 +95,7 @@ Accept wildcard characters: False

### -IncludePinnedFiles

{{ Fill IncludePinnedFiles Description }}
Includes pinned files in the deletion. By default, the cmdlet preserves pinned files.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand All @@ -91,10 +118,24 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## INPUTS

### None

You can't pipe objects to this cmdlet.

## OUTPUTS

### None

This cmdlet doesn't return objects. It displays deletion status messages in the console.

## NOTES

Run this cmdlet from an elevated PowerShell session.

## RELATED LINKS

[https://aka.ms/do-cmdlets](https://aka.ms/do-cmdlets)
[Get-DeliveryOptimizationStatus](Get-DeliveryOptimizationStatus.md)

[Set-DeliveryOptimizationStatus](Set-DeliveryOptimizationStatus.md)

[Monitor Delivery Optimization](https://learn.microsoft.com/windows/deployment/do/waas-delivery-optimization-monitor)
Original file line number Diff line number Diff line change
Expand Up @@ -4,66 +4,65 @@ Help Version: 5.1.0.2025
Locale: en-US
Module Guid: b9af2675-4726-42fd-adab-38228176a516
Module Name: DeliveryOptimization
ms.date: 02/21/2024
ms.date: 11/02/2026
title: DeliveryOptimization module
---

# DeliveryOptimization Module
## Description
{{ Fill in the Description }}
Use the DeliveryOptimization cmdlets to monitor downloads and performance, configure download modes and bandwidth limits, manage cached files, and troubleshoot Delivery Optimization.

## DeliveryOptimization Cmdlets
### [Delete-DeliveryOptimizationCache](Delete-DeliveryOptimizationCache.md)
{{ Fill in the Description }}
Deletes files from the Delivery Optimization cache and removes their associated persisted data.

### [Disable-DeliveryOptimizationVerboseLogs](Disable-DeliveryOptimizationVerboseLogs.md)
{{ Fill in the Description }}
Disables verbose logging for Delivery Optimization.

### [Enable-DeliveryOptimizationVerboseLogs](Enable-DeliveryOptimizationVerboseLogs.md)
{{ Fill in the Description }}
Enables verbose logging for Delivery Optimization.

### [Get-DeliveryOptimizationPerfSnap](Get-DeliveryOptimizationPerfSnap.md)
{{ Fill in the Description }}
Gets a snapshot of Delivery Optimization performance statistics.

### [Get-DeliveryOptimizationPerfSnapThisMonth](Get-DeliveryOptimizationPerfSnapThisMonth.md)
{{ Fill in the Description }}
Gets Delivery Optimization performance statistics for the current calendar month.

### [Get-DeliveryOptimizationStatus](Get-DeliveryOptimizationStatus.md)
{{ Fill in the Description }}
Gets a real-time snapshot of current Delivery Optimization jobs.

### [Get-DOConfig](Get-DOConfig.md)
{{ Fill in the Description }}
Gets the local configuration and policies applied to Delivery Optimization.

### [Get-DODownloadMode](Get-DODownloadMode.md)
{{ Fill in the Description }}
Gets the current Delivery Optimization download mode.

### [Get-DOPercentageMaxBackgroundBandwidth](Get-DOPercentageMaxBackgroundBandwidth.md)
{{ Fill in the Description }}
Gets the maximum percentage of available bandwidth that Delivery Optimization can use for background downloads.

### [Get-DOPercentageMaxForegroundBandwidth](Get-DOPercentageMaxForegroundBandwidth.md)
{{ Fill in the Description }}
Gets the maximum percentage of available bandwidth that Delivery Optimization can use for foreground downloads.

### [Set-DeliveryOptimizationStatus](Set-DeliveryOptimizationStatus.md)
{{ Fill in the Description }}
Sets the expiration time or pinning status of files in the Delivery Optimization cache.

### [Set-DODownloadMode](Set-DODownloadMode.md)
{{ Fill in the Description }}
Sets the Delivery Optimization download mode.

### [Set-DOMaxBackgroundBandwidth](Set-DOMaxBackgroundBandwidth.md)
{{ Fill in the Description }}
Sets the maximum bandwidth, in KB/s, that Delivery Optimization can use for background downloads.

### [Set-DOMaxForegroundBandwidth](Set-DOMaxForegroundBandwidth.md)
{{ Fill in the Description }}
Sets the maximum bandwidth, in KB/s, that Delivery Optimization can use for foreground downloads.

### [Set-DOPercentageMaxBackgroundBandwidth](Set-DOPercentageMaxBackgroundBandwidth.md)
{{ Fill in the Description }}
Sets the maximum percentage of available bandwidth that Delivery Optimization can use for background downloads.

### [Set-DOPercentageMaxForegroundBandwidth](Set-DOPercentageMaxForegroundBandwidth.md)
{{ Fill in the Description }}
Sets the maximum percentage of available bandwidth that Delivery Optimization can use for foreground downloads.

### [Get-DeliveryOptimizationLog](Get-DeliveryOptimizationLog.md)
{{ Fill in the Description }}
Gets Delivery Optimization log entries as PowerShell objects.

### [Get-DeliveryOptimizationLogAnalysis](Get-DeliveryOptimizationLogAnalysis.md)
{{ Fill in the Description }}

Analyzes Delivery Optimization logs to summarize download activity and peering efficiency.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: DeliveryOptimizationVerboseLogs.psm1-help.xml
Module Name: DeliveryOptimization
ms.date: 02/21/2024
ms.date: 11/02/2026
online version: https://learn.microsoft.com/powershell/module/deliveryoptimization/disable-deliveryoptimizationverboselogs?view=windowsserver2025-ps&wt.mc_id=ps-gethelp
schema: 2.0.0
title: Disable-DeliveryOptimizationVerboseLogs
Expand All @@ -11,6 +11,8 @@ title: Disable-DeliveryOptimizationVerboseLogs

## SYNOPSIS

Disables verbose logging for Delivery Optimization.

## SYNTAX

```
Expand All @@ -19,23 +21,38 @@ Disable-DeliveryOptimizationVerboseLogs [-Force] [<CommonParameters>]

## DESCRIPTION

{{ Fill in the Description }}
The `Disable-DeliveryOptimizationVerboseLogs` cmdlet removes the verbose tracing configuration
and log size overrides set by `Enable-DeliveryOptimizationVerboseLogs`.

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
### Example 1: Disable verbose logging

```powershell
Disable-DeliveryOptimizationVerboseLogs
```

This command disables verbose logging and prompts to restart the service if it's running.

### Example 2: Disable verbose logging without a restart prompt

```powershell
PS C:\> {{ Add example code here }}
Disable-DeliveryOptimizationVerboseLogs -Force
```

{{ Add example description here }}
This command disables verbose logging and restarts the running service without prompting.
The restart interrupts active downloads.

## PARAMETERS

### -Force

{{ Fill Force Description }}
Restarts the Delivery Optimization service without prompting if it's running, so the logging
changes take effect immediately. The restart interrupts active downloads.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand All @@ -58,10 +75,24 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## INPUTS

### None

You can't pipe objects to this cmdlet.

## OUTPUTS

### None

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

## NOTES

Run this cmdlet from an elevated PowerShell session.

## RELATED LINKS

[https://aka.ms/do-cmdlets](https://aka.ms/do-cmdlets)
[Enable-DeliveryOptimizationVerboseLogs](Enable-DeliveryOptimizationVerboseLogs.md)

[Get-DeliveryOptimizationLog](Get-DeliveryOptimizationLog.md)

[Monitor Delivery Optimization](https://learn.microsoft.com/windows/deployment/do/waas-delivery-optimization-monitor)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: DeliveryOptimizationVerboseLogs.psm1-help.xml
Module Name: DeliveryOptimization
ms.date: 02/21/2024
ms.date: 11/02/2026
online version: https://learn.microsoft.com/powershell/module/deliveryoptimization/enable-deliveryoptimizationverboselogs?view=windowsserver2025-ps&wt.mc_id=ps-gethelp
schema: 2.0.0
title: Enable-DeliveryOptimizationVerboseLogs
Expand All @@ -11,6 +11,8 @@ title: Enable-DeliveryOptimizationVerboseLogs

## SYNOPSIS

Enables verbose logging for Delivery Optimization.

## SYNTAX

```
Expand All @@ -19,23 +21,40 @@ Enable-DeliveryOptimizationVerboseLogs [-Force] [<CommonParameters>]

## DESCRIPTION

{{ Fill in the 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
### Example 1: Enable verbose logging

```powershell
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

```powershell
PS C:\> {{ Add example code here }}
Enable-DeliveryOptimizationVerboseLogs -Force
```

{{ Add example description here }}
This command enables verbose logging and restarts the running service without prompting.
The restart interrupts active downloads.

## PARAMETERS

### -Force

{{ Fill Force Description }}
Restarts the Delivery Optimization service without prompting if it's running, so the logging
changes take effect immediately. The restart interrupts active downloads.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand All @@ -58,10 +77,25 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## INPUTS

### None

You can't pipe objects to this cmdlet.

## OUTPUTS

### None

This cmdlet doesn't return objects. It displays 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.

## RELATED LINKS

[https://aka.ms/do-cmdlets](https://aka.ms/do-cmdlets)
[Disable-DeliveryOptimizationVerboseLogs](Disable-DeliveryOptimizationVerboseLogs.md)

[Get-DeliveryOptimizationLog](Get-DeliveryOptimizationLog.md)

[Monitor Delivery Optimization](https://learn.microsoft.com/windows/deployment/do/waas-delivery-optimization-monitor)
Loading
Loading