I have this code that works Get-ADComputer -Filter * | Format-List name but it returns the following:
name : MG08157
name : MG08151
name : MG08155
name : MG07962
name : MG09233
name : MG09270
I don't want the Name: and I don't want the spaces inbetween the names. How do I just get 1 computer name per line?