Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

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

  • No labels