You can use Resolve-Path to support wildcards so you can use it to easily put together a list of file names like this:
Resolve-Path $env:windir\*.log
You can use Resolve-Path to support wildcards so you can use it to easily put together a list of file names like this: