|
$Dirs = Get-ChildItem $Drive.Root -Recurse -ErrorAction SilentlyContinue |
Hello, i would like to know if there is any reason except performances to avoid the -Force argument in the Get-ChildItem cmdlet (to find extensions like ".rdp", ...).
We also can provide it as an argument to SessionGopher. I'm saying that because it misses some .rdp files in "C:\Users\All Users" for example.
Let me know what you think and i will pull request.
Thanks a lot for your work!
SessionGopher/SessionGopher.ps1
Line 483 in 9b5f086
Hello, i would like to know if there is any reason except performances to avoid the
-Forceargument in theGet-ChildItem cmdlet(to find extensions like ".rdp", ...).We also can provide it as an argument to SessionGopher. I'm saying that because it misses some .rdp files in "C:\Users\All Users" for example.
Let me know what you think and i will pull request.
Thanks a lot for your work!