$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
Â
Example
if(!$cs.File_ExistFile("${env:ProgramFiles(x86)}\WinSCP\WinSCP.exe")){Exit-PSScript 2}
returns Bool
Â