4. PowerShell Logs
- Get-History:
- Kan clearas med 'Clear-History'
Get-History
- PSReadline:
(Get-PSReadlineOption).HistorySavePath
type $env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\*
- Powershell Transcripts:
- Sparas som txt-filer i specifierad mapp eller som standard under 'Documents'
- Initieras med 'Start-Transcript'
- Powershell Script-Block:
- Om är påslaget kan hittas i Event Viewer.
- Applications and Services Logs > Microsoft > Windows > PowerShell > Operational
- Sortera efter Event-ID: 4104