📅  最后修改于: 2022-03-11 14:50:09.503000             🧑  作者: Mango
$Folder = 'C:\Windows'
"Test to see if folder [$Folder] exists"
if (Test-Path -Path $Folder) {
"Path exists!"
} else {
"Path doesn't exist."
}