I hope you are all well and can assist.
I have the following query that works but which am having issues with spaces in the output.
dsquery * "OU=Domain Controllers,DC=test,DC=company,DC=net" -attr name description -filter (objectClass=Computer) -limit 1000 | sort
server03 Salzburg, Austria
Notice in the above there are spaces to the left, as if it is indented a couple of spaces.
Is there any way to remove these spaces from the left?
Any help greatly appreciated.