-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #830 from Qazeer/PSHistory&UsageLogs-to-CSV
Add PowerShell_ConvertPSHistoryTo-CSV & PowerShell_ConvertUsageLogsTo-CSV modules
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
Modules/Apps/GitHub/PowerShell_ConvertPSHistoryTo-CSV.mkape
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Description: ConvertPSHistoryTo-CSV.ps1 - Export the ConsoleHost_history.txt file(s) into a single CSV file. | ||
Category: ProgramExecution | ||
Author: Thomas DIOT (Qazeer) | ||
Version: 1.0 | ||
Id: bab1fd35-90f6-45b7-913b-32ac71b45ea7 | ||
BinaryUrl: https://gist.github.com/Qazeer/a0c1c14bb1eae233c1147d1d9dfb3e93 | ||
ExportFormat: CSV | ||
Processors: | ||
- | ||
Executable: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | ||
CommandLine: "& '%kapeDirectory%\\Modules\\bin\\ConvertPSHistoryTo-CSV.ps1' -InputDir '%sourceDirectory%' -Destination %destinationDirectory%" | ||
ExportFormat: CSV | ||
|
||
# Documentation | ||
# https://gist.github.com/Qazeer/a0c1c14bb1eae233c1147d1d9dfb3e93 | ||
# Convert ConsoleHost_history.txt files from the specified Source Directory into a single CSV file. | ||
# Original script and KAPE module to copy the ConsoleHost_history.txt files from Andrew Rathbun and Matt Arbaugh. |
17 changes: 17 additions & 0 deletions
17
Modules/Apps/GitHub/PowerShell_ConvertUsageLogsTo-CSV.mkape
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Description: ConvertUsageLogsTo-CSV.ps1 - Export the Usage Logs file(s) into a single CSV file. | ||
Category: ProgramExecution | ||
Author: Thomas DIOT (Qazeer) | ||
Version: 1.0 | ||
Id: 6fb52c8b-f325-4c08-b9cc-5aa11285b161 | ||
BinaryUrl: https://gist.github.com/Qazeer/6c655627962f034aa2b6e92594770ee2 | ||
ExportFormat: CSV | ||
Processors: | ||
- | ||
Executable: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | ||
CommandLine: "& '%kapeDirectory%\\Modules\\bin\\ConvertUsageLogsTo-CSV.ps1' -InputDir '%sourceDirectory%' -Destination %destinationDirectory%" | ||
ExportFormat: CSV | ||
|
||
# Documentation | ||
# https://gist.github.com/Qazeer/6c655627962f034aa2b6e92594770ee2 | ||
# Convert Usage Logs file(s) from the specified Source Directory into a single CSV file. | ||
# Original script and KAPE module to copy the ConsoleHost_history.txt files from Andrew Rathbun and Matt Arbaugh. |