I am a newby to PowerShell and I need some help in writing a script. I have found out how to get the registry values from remote servers by the following reg query command:
reg query \\servername\HKLM\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\PermittedManagers
What I would like to do is the following:
Setup a server.txt file that I can populate with the names of remote servers I need to query the regsitry on from my laptop. Next I would like to read four registry values that will display on the screen for different servers. I know this is probably elementary to the experts, but I would really appreciate any assistance.
Thanks,
J