Hi so I currently have a script I have been running to get Application, Backup, and System Logs and convert them into CSV for easy use in importing them into SQL for parsing.
Currently it only works on a single machine or server. However I was wondering if it is possible to expand the code to it can grab those files from MULTIPLE computers on the domain all from a single script or at least from a single computers batch file.
Example
Get-WinEvent -logname Microsoft-Windows-Backup | Export-CSV -path C:\Logs\backup.csv
So the end goal would be to get winevent from ComputerA, ComputerB, ComputerC, and Send them all back to ComputerAs log drive, with a name that says which PC they came from.
Any help? Thanks