I found this function in my old powershell folder:
Function listAllPaths([string]$fromFolder,[string]$filter) {
Get-ChildItem -Path $fromFolder -Recurse $filter | Select-Object -Property FullName
}
And wanted to test it out. I put it in my profile, started Powershell and typed the following:
PS C:\> listAllPaths("C:\Downloads\Nemi","*.jpg")
That folder is a custom made, it just happens to have the same name as the Vista Downloads folder. The subfolder in question has nothing but jpg files, yet nothing is printed on screen. Can someone tell me what I'm doing wrong?(Because it will probably be me doing something wrong, I'm sure of it).