I'm having this issue in powershell where I can't access the contents of one folder to search via powershell. If I go into the console and go to the folder and open a text file I am able to see the logs on the server. However if I do the same thing in powershell, I get the error "access denied". I find it interesting that I can access the folder contents in console but not shell. I am running a small function to search the same folder across a cas array. Any ideas?
I also notice that if i do a cd and go to the path of the folder and run a get-content I can see the list of files in the folder, problem is just being able to read them.