6 lines
106 B
PowerShell
6 lines
106 B
PowerShell
$path = "C:\Users"
|
|
if((Dir $path).Count -eq 0) {
|
|
"$path is empty"
|
|
} else {
|
|
"$path is not empty"
|
|
}
|