运行此代码时,我不断收到错误。它来自这个网站 http://woshub.com/find-duplicate-files-powershell/
$file_配音 |外格视图 -标题"选择文件" -输出模式多个 –直通 |删除项目 –详细 –如果
Out-GridView : Parameter set cannot be resolved using the specified named parameters.
****************** At *.ps1:17 char:20
+ ... ublicates | Out-GridView -Title "Select files" -OutputMode Multiple – ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Out-GridView], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.PowerShell.Commands.OutGridViewCommand
$file_配音 |外格视图 -标题"选择文件" -输出模式多个 –直通 |删除项目 –详细 –如果
当我将其更改为以下内容时,它起作用了:$Links = $File_dublicates |Out-GridView -标题 "Test" – PassThru