< Back

New-TemporaryFolder

Sat Jan 11, 2020 2:45 pm

NAME New-TemporaryFolder



SYNOPSIS

This function creates a folder with the specified name.





SYNTAX

New-TemporaryFolder -folderName <String> [<CommonParameters>]



New-TemporaryFolder -folderPath <String> [<CommonParameters>]





DESCRIPTION

This function creates a folder with the specified name.

If the folder name is provided, the folder is created in the $env:TEMP directory.





PARAMETERS

-folderName <String>

The name of the folder to create.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-folderPath <String>

The path of the folder to create.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.IO.FileInfo







RELATED LINKS