我有一个接受文件的字符串数组参数的函数,我想使用Test-Path(或其他)来确保字符串数组参数中的所有文件都存在.如果可能的话,我想在参数声明中这样做.
这可能吗?
powershell
powershell ×1