Get Temp Dir
Last Modified: February 25, 2024 18:18 CEST

Get-TempDir #

SYNOPSIS #

Returns the path for temporary files

SYNTAX #

Get-TempDir [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION #

Returns the path for temporary files of the logged in user.

EXAMPLES #

Example 1:Folder for temp files #

PS C:\> Get-TempDir
# Output

C:\Users\John\AppData\Local\Temp

Returns the path for temporary files.

PARAMETERS #

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 #

Get-DesktopDir