Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Formatting question

$
0
0

Try this
Set-Content -Path computers.txt -Value ((Get-ADComputer -Filter * | select -ExpandProperty Name) -join “,”)


Viewing all articles
Browse latest Browse all 13067

Trending Articles