Hi everybody thanks for your help, this is what I've done. The Main goal is to move content of Downloads into Recycle bin if is a folder or whatever it is I can't figure out why I run it and after moving items can't seen them in the Desktop>recycle bin I found the items in c:$Recycle.bin what do you suggest? thanks again
#Requires -Version 5.1
param (
[string] $path = "$env:HOMEPATH\Downloads\")
$myBool = Test-Path $path
if ($myBool -eq $false)
{
"Path does not exist, Input the path to folder"
}
else {
Get-childItem -path "$path" -Recurse | Select-Object | Move-Item -Destination
'C:\$Recycle.Bin'
}