Skip to content

Clear TempFolders

Apostolis Bekiaris edited this page Oct 7, 2019 · 2 revisions

external help file: XpandPwsh-help.xml Module Name: XpandPwsh online version: schema: 2.0.0

Clear-TempFolders

SYNOPSIS

Clears Windows Temp folder

SYNTAX

Clear-TempFolders [[-tempfolders] <Object>] [<CommonParameters>]

DESCRIPTION

Clears "C:\Windows\Temp*", "C:\Windows\Prefetch*", "C:\Documents and Settings*\Local Settings\temp*", "C:\Users*\Appdata\Local\Temp*"

EXAMPLES

Example 1

PS C:\> Clear-TempFolders

PARAMETERS

-tempfolders

{{ Fill tempfolders Description }}

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
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

System.Object

NOTES

RELATED LINKS

Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally
You can’t perform that action at this time.