Helpers/New-TempDir.ps1

1
2
3
4
5
6
7
Function New-TempDir {
    [CmdletBinding()]
    [Alias('Create-TempDir')]
    Param()

    IF    (!(Test-Path -Path C:\Temp)) {New-Item -ItemType "Directory" -Path C:\Temp -Force}
}