$cs.File_ExistDir

Syntax

$cs.File_ExistDir(string path)

 

Parameters

path

Path to check existence of

 

Example

if($cs.File_ExistDir("${env:ProgramFiles(x86)}\WinSCP")) { #do something }

returns bool

Â