garethEds Posted October 6, 2021 Posted October 6, 2021 Good afternoon, Does anyone use a PowerShell script to add the current machine to an AD security group either during deployment or as a PDQ Deploy task? If so - could I leech it from you? Many thanks Gareth
chaplic Posted October 6, 2021 Posted October 6, 2021 add-adgroupmember -identity MachineGroup -Members $($env:COMPUTERNAME +"$")
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now