You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Powershell/Get-EventLogs.ps1
+22-13Lines changed: 22 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -3,17 +3,20 @@
3
3
Get-EventLogs
4
4
5
5
.DESCRIPTION
6
-
This Script Collects Event Log data from Remote Servers and the Local Machine if defined. It will collect all of these and finally zip the files up into a easy to transport zip file.
6
+
This Script Collects Event Log data from Remote Servers and the Local Machine if defined. It will collect all of these and finally zip the files up into a easy to transport zip file.
7
7
If you need to collect more logs than just Application, System, and Operations Manager. Please change line 35 [String[]]$Logs.
8
8
9
9
.PARAMETERServers
10
10
Add DNS Hostnames you would like to retrieve the Event Logs from like this: Agent1.contoso.com, Agent2.contoso.com
11
11
12
+
.PARAMETERLogs
13
+
Gather specific Event Logs from Remote or Local Machine.
0 commit comments