FileSystemTools/FileSystemTools.ps1

function IsDirectory($Path) {
    return Test-Path -Path $Path -PathType Container
}

function NewTempFile() {
    $tempFilePath = Join-Path -Path (GetTempDirectory) -ChildPath "$(GenerateGuid).txt"
    return New-Item -Path $tempFilePath -ItemType File
}

function GetTempDirectory() {
    return $env:TEMP
}

function GenerateGuid() {
    return [guid]::NewGuid();
}