This is purely for my personal note, cmdlet "test-path" is the keyword:
if (Test-Path "file_lccation")
{
write-host "the file is there"
}
else
{
Write-Host "the file is missing"
}
Friday, August 7, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment