-
-
Notifications
You must be signed in to change notification settings - Fork 7
Clear TempFolders
Apostolis Bekiaris edited this page Apr 26, 2020
·
5 revisions
Clears Windows Temp folder
Clear-TempFolders [[-tempfolders] <Object>] [<CommonParameters>]
Clears "C:\Windows\Temp*", "C:\Windows\Prefetch*", "C:\Documents and Settings*\Local Settings\temp*", "C:\Users*\Appdata\Local\Temp*"
PS C:\> Clear-TempFolders
Clears "C:\Windows\Temp*", "C:\Windows\Prefetch*", "C:\Documents and Settings*\Local Settings\temp*", "C:\Users*\Appdata\Local\Temp*"
{{ Fill tempfolders Description }}
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.