ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. mdt
    Log in to post
    • All categories
    • wrx7m

      Any Way to Automate Adding a New Computer to an AD Group?
      IT Discussion • windows 10 windows server ad active directory gpo mdt powershell ps pdq deploy ou task sequence • • wrx7m

      32
      0
      Votes
      32
      Posts
      3946
      Views

      F

      @marcinozga said in Any Way to Automate Adding a New Computer to an AD Group?:

      @flaxking said in Any Way to Automate Adding a New Computer to an AD Group?:

      @marcinozga said in Any Way to Automate Adding a New Computer to an AD Group?:

      Ansible can do that. https://docs.ansible.com/ansible/latest/modules/win_domain_group_membership_module.html#win-domain-group-membership-module
      You can add new PCs to domain, and change their group membership, you just need to know computer names in advance.

      Which is just a layer on top of Powershell. The Active Directory Powershell module is still required.

      It's not required, or that module is included already in Windows 10 by default. Because I haven't had to install it on any machine I managed with Ansible.

      "win_domain_group_membership requires the ActiveDirectory PS module to be installed"
      https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/windows/win_domain_group_membership.ps1

      They have it in the documentation as well "This must be run on a host that has the ActiveDirectory powershell module installed."
      https://docs.ansible.com/ansible/latest/modules/win_domain_group_module.html

    • wrx7m

      Desktop Migration - Windows 7 Pro to Windows 10 Enterprise
      IT Discussion • windows 10 enterprise windows 7 pro mdt wds gpo ltsb migration • • wrx7m

      12
      1
      Votes
      12
      Posts
      1185
      Views

      wrx7m

      @dashrender It is SA

    • kamidon

      Throwing the White Flag
      IT Discussion • mdt deployment windows 10 enterprise windows 10 server 2012 • • kamidon

      21
      1
      Votes
      21
      Posts
      3618
      Views

      kamidon

      @Dashrender What's weird though is I've gotten them to work here and there despite using msiexec. BUT then I changed some things around (added spaces....spaces make life hell but I wanted to see if I had to use " " around the path or not...utter failure, upon changing things back....I broke the installs)

      But yeah, I'm happy 🙂
      Now I just need to add what I've figured out to the other programs, which a few auto-activate lol, testing will have to be live.
      Ugh then I have to make more deployments for our Autodesk products, which actually isn't that bad..