Remove blank lines with grep


Remove blank lines ( new line ) with grep
echo -e "a\n\nb" | grep -v '^ *$'

or

grep -v '^[\s\t]*$' file.txt  > new_file.txt

Export/import windows server DNS zones

You can use Export-DnsServerZone and Import-DnsServerZone .   Export: Export-DnsServerZone -Name "test.com" -Filename "test...

Mais vistos