Here’s an interesting tip – if you need an editor on a Windows server that handles Unix line endings you can use Powershell ISE … it’s not installed by default, but open a Powershell prompt and enter these commands:
Import-Module ServerManager
Add-WindowsFeature PowerShell-ISE
And you will have a half-decent editor.