Windows PowerShell Specification

Test-Path: Determines whether the elements of a path exist or if a path is well formed (see §13.54) Some cmdlets (such as Add-Content (§13.1) and Copy-Item (§13.9)) use file filters. A file filter is a mechanism for specifying the criteria for selecting from a set of paths. ................
................