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