Clear-HtmlBrowserCache

August 3, 2026 ยท View on GitHub

SYNOPSIS

Cleans up Playwright browser downloads and cache.

SYNTAX

__AllParameterSets

Clear-HtmlBrowserCache [-Force] [-SkipBrowsers] [-SkipTemp] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Cleans up Playwright browser downloads and cache.

EXAMPLES

EXAMPLE 1

Clear-HtmlBrowserCache -Force

PARAMETERS

-Force

Force cleanup without confirmation.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SkipBrowsers

Skip browser downloads cleanup.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SkipTemp

Skip temporary files cleanup.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

  • None

OUTPUTS

  • None
  • None