/
$cs.File_ExistFile
$cs.File_ExistFile
Syntax
$cs.File_ExistFile(string filepath)
Parameters
filepath
Path to file to check for
Example
if(!$cs.File_ExistFile("${env:ProgramFiles(x86)}\WinSCP\WinSCP.exe")){
Exit-PSScript 2
}
returns Bool
$cs.File_ExistFile(string filepath)
filepath
Path to file to check for
if(!$cs.File_ExistFile("${env:ProgramFiles(x86)}\WinSCP\WinSCP.exe")){
Exit-PSScript 2
}
returns Bool