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:



 

 

Best Regards,

 

Mike Murray

Desktop Management Coordinator - IT Support Services

California State University, Chico

530.898.4357
 <mailto:[email protected]> [email protected]

 



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to