Test -Path syntax is straightforward and supports local and remote file paths. Example: if ($fileExists) { Write-Host "The file exists." } else {
確定! 回上一頁