I have a function that accepts a string array parameter of files and I would like to use Test-Path (or something else) to ensure that all the files in the string array param
You can use ValidateScript
param( [parameter()] [ValidateScript({Test-Path $_ })] [string[]]$paths )
For more documentation on parameter validation visit about_Functions_Advanced_Parameters