Tag: Creating Log file in PowerShell Script

Using PowerShell create a log file

Using PowerShell create a log file

 15,708 total views

 15,708 total views In this post, I will show how to build or create a logging function in PowerShell in the PowerShell “.ps1” file directory. However, we can change to any directory wherever we wish – only we need to change the directory path. How to create a log file for the PowerShell scripting or coding?

Continue reading