Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Loop Question

$
0
0

Hello All,

I have 2 .csv files. One .csv has a list of computer names. The other list contains user accounts, and SIDs. I need to take each user account, one by one, and check every computer account for the same path, which is c:\users\'userprofile,' until I find that user path on every computer in the computer list. Each time that list is resolved, I then need to replace a registry value(a SID in the profilelist reg key). I'm having issues automating this; any help would be appreciated. Thanks!


Viewing all articles
Browse latest Browse all 2562

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>