So coming back to this....
I have a list of servers (server.txt) I need to query this list for a Reg_Binary value...
I need to have the script cycle through the list - turn on remote registry if needed, obtain the value from the Reg_Binary (SignaturesLastUpdated) from the Key - "SOFTWARE\Microsoft\Microsoft Antimalware\Signature Updates"
Output the information in a date and time format next to the server name - ideally as a csv (but that isn't a main deal) - preferably appending a single file on each cycle.
Then I need it to return the remote reg service back to the state it found it.
I have taken no less than 20 runs at this and am reluctant to put any code up for modification - would humbly ask that someone with a greater skill level at Powershell return a response with the script needed.
I am doing all of this because it seems that Microsoft FEP doesn't update SCCM with live information so reporting isn't of value - if you know a way to fix that then that's ideal....
Sorry I know this is a lot to ask - but I'm tired of fighting this one, so please help.