To view the content of a directory on a Windows file server, use the Get-ChildItem cmdlet. To show all hidden files, add the -Force parameter. The command below shows all root objects in the Shared folder:
Get-ChildItem '\\fs\Shared' -Force
If you want to also check all subfolders and their content, add the -Recurse parameter:
Get-ChildItem '\\fs\Shared' -Force -Recurse
To filter the output, add the Filter, Exclude, Include and Path parameters to the Get-ChildItem cmdlet. For advanced object filtering, use the Where-Object cmdlet. The script below searches for all executable files in the IT folder that were modified after April 1, 2018:
Get-ChildItem -Path '\\fs\Shared\IT' -Recurse -Include *.exe | Where-Object -FilterScript {($_.LastWriteTime -gt '2018-04-01')}