What want to do is put the network drive letter somewhere and then put the file extensions I'm after and then get my answer. But right now, I'm not sure where to begin and it's not supposed to be a big learning task to do this.
That's why I went with r first, and file.list works. Then when I do file.info using something I found on overflow, it shat the bed when the names got too long.
I think I can use the getshortpath to get the 8.3 name.
I found this
https://www.google.com/amp/s/learn-powershell.net/2013/04/01/list-all-files-regardless-of-260-character-path-restriction-using-powershell-and-robocopy/amp/
What want to do is put the network drive letter somewhere and then put the file extensions I'm after and then get my answer. But right now, I'm not sure where to begin and it's not supposed to be a big learning task to do this.
That's why I went with r first, and file.list works. Then when I do file.info using something I found on overflow, it shat the bed when the names got too long.