I am looking for the shortest PowerShell command to search and display 2 files in my home directory. However, the command I am using is not technically right. I am looking for a better powershell command.
Here is my problem.
I have two files called “Letter to Mom” & “Letter to Dad” in my Home Directory inside a folder called “myletter”
C:\Users\Apple> is my home directory.
I used the following command Get-ChildItem -Filter Letter* -Recurse
However, this is not right because it will list all files starting with “Letter”.
Can anyone provide a better ‘smallest’ command which only lists the “Letter to Mom” & “Letter to Dad” files
Any input will be appreciated