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 Page History

« Previous Version 2 Current »

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 nothing

  • No labels