We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ddcdc commit 3d773d7Copy full SHA for 3d773d7
WindowsDiskCleanup/Public/Remove-ChromiumTempData.ps1
@@ -0,0 +1,14 @@
1
+function Remove-ChromiumTempData {
2
+ [CmdletBinding()]
3
+ param(
4
+ [Parameter(Mandatory = $true)]
5
+ [int]$Days,
6
+
7
+ [switch]$DryRun
8
+ )
9
10
+ process {
11
+ $paths = @("$env:SystemRoot\SystemTemp\scoped_dir*", "$env:SystemRoot\SystemTemp\chrome_url_fetcher_*")
12
+ Get-ChildItem $paths | Remove-OldItem -Days $Days -DryRun:$DryRun
13
+ }
14
+}
0 commit comments