"AND"/"&"/"OR"/"|", please excuse my ignorance; I'm not sure if they're called operands, boolean operators, conditions, switches or something else.
I set up one of my servers (Windows Server 2019) as a temporary always-on desktop client to attempt to recover some lost files, tons of duplicates have been generating thus I need to do some pretty specific searches. Is this supported in the post-Windows10/Server2016 era? The last Windows desktop I used was I believe Windows 7 so I don't remember if it ever did.
I do remember indexing had to be setup but this is on and remotely indexed SMB3 file share so it's all set on that part.
If it's supported, how would it be spelled in conjunction with wildcards, for instance:
Should I expect the example above to work or am I missing quoting/escaping??
Also, how can I negate things? I see there are now categories, if I wanted to search things that aren't folders (instead of something like
*.*) a positive match query is (as offered by the system)
kind:=folder, so for a negative match is it
kind:!=folder? Am I even close?
For once I was looking forward to fix it in PowerShell, trying several variations
Get-ChildItem -Path .\*.m4a,.\*.m4a -Exclude *'#recycle* -Recurse | Move-Item -Destination .\startover but some software made directories after every file apparently to store metadata and when it runs it fails because a file cannot overwrite a directory with a matching name, the scripting I came up with is not file-type-aware, only filename-aware. If you have any other advice I'm happy to hear it. :)