All ideasMore in Work

AI wrote the scripts that moved 400 workstations to a new domain

A system admin moved his workplace off an old domain that dated back to the NT4 days and onto a new one. Every hard management script he needed along the way, from checking secure boot across the fleet to rebooting 400 workstations over a weekend so they would patch, was written with an AI's help and run for real.

How it works

  1. Set up trusts between the old domain and the new one
  2. Reformatted every workstation and joined it to the new domain
  3. Installed remote access and the management agent on each one
  4. Used AI written PowerShell scripts for the hard parts, like checking secure boot across the fleet and rebooting 400 workstations over a weekend so patches would run

Why it’s worth knowing

The AI was not writing toy scripts. It wrote the tools that now watch over and control 400 workstations, including ways into Windows data that Microsoft barely documents.

Where it’s from

Summarized from a public post on serverfault.com. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.