Try putting at the end one of the following; | Format-List | Format-Table -AutoSize | Format-Table -Wrap
Or if only need to see the output one time you could put | Out-GridView to display the output in a pretty GUI table. From: [email protected] [mailto:[email protected]] On Behalf Of Murray, Mike Sent: Thursday, March 24, 2016 7:00 PM To: [email protected] Subject: [mssms] OT - PowerShell help? Hola, I'm running the script below to list computers within an AD security group (the group in question has members of multiple other security groups). It works, but it cuts off the name if it's more than 6 characters in length. Annoying! Any idea why? Get-ADGroupMember -Identity "Group Name" -recursive | sort name | Where {$_.ObjectClass -eq 'computer'} | Get-ADComputer -Properties Name, Description | Select Name, Description Example: [cid:[email protected]] Best Regards, Mike Murray Desktop Management Coordinator - IT Support Services California State University, Chico 530.898.4357 [email protected]<mailto:[email protected]>
