====== Checking if a file exists with PowerShell ====== You can check the existence of a file with the ''Test-Path'' command: Test-Path -Path C:/Path/To/File The command will return a boolean. {{tag>PowerShell}}