![]()
Create log file in PowerShell – 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. Create log file in PowerShell – how to








![[Verified]: Get SharePoint remote server inventory PowerShell script 40 Get SharePoint remote server inventory PowerShell script](https://i0.wp.com/global-sharepoint.com/wp-content/uploads/2019/08/Get-SharePoint-remote-server-inventory-PowerShell-script.jpg?fit=682%2C382&ssl=1)