Tag: logfile

Get name of the PowerShell script file inside the script

Microsoft, Microsoft Azure, PowerShell, Windows, Windows Server • 9 Comments

When you create a PowerShell script you sometimes want to create some output for a log file for...
Read More

PowerShell: How to export Windows Eventlogs with PowerShell

Events, Microsoft, PowerShell, Windows, Windows Server • 11 Comments

This is a little dirty Windows PowerShell script which exports or backups Windows Eventlogs. The script creates a .evt file which can be...
Read More