Main | Contact | Blog | Documentation

PowerShell Framework

The project dedicated to empowering your PowerShell scripting.

Getting Started with Logging

In order to create logs, all you need to do is update existing scripts and replace all instances of …


… with …


This is all that it takes, your scripts are now creating logfiles.

Note: Replacing custom functions such as the often used Write-Log works just the same - just send it the message and Write-PSFMessage will handle the rest.

Additional information

Further reading