I keep getting an error when I run this code. It is from this website http://woshub.com/find-duplicate-files-powershell/
$file_dublicates | Out-GridView -Title "Select files" -OutputMode Multiple –PassThru | Remove-Item –Verbose –WhatIf
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_dublicates | Out-GridView -Title "Select files" -OutputMode Multiple –PassThru | Remove-Item –Verbose –WhatIf