SyntaxFix
Write A Post
Hire A Developer
Questions
The standard way to see if a file exists is with the Test-Path cmdlet.
Test-Path
Test-Path -path $filename