Just started a new job, and the previous guy was really bad about updating our documentation. We are trying to get that fixed. I was trying to start with figuring out who has what computer. Initially I was just checking the last modified user file. However, I was getting an abnormally high amount of computers just not answering.
I came up with the script below next. If I run the script on a specific computer, it works, but I can’t get it to work right when pulling from the CSV. Computers that I know are on, just don’t answer, or it says it can’t find the path. I’m still brand new to using powershell, and have run out of ideas. Any help would be appreciated.