Oct 22 2019 11:38 AM
Hi Team,
Would anyone know how you can add hostname$ via powershell to a security group?
Greatly appreciate the help
Thank you
Oct 25 2019 10:10 PM - edited Oct 25 2019 10:11 PM
If you looking to add in Active Directory security group, you can use the below command.
ADD-ADGroupMember "SecurityGroup" –members "hostname$"