This repository contains bits from messing around in Windows.
Reset all passwords for all domain users, excluding the default system users.
# First source in the cmdlet
> . Path\To\ADPasswordReset.ps1
# Then run with a password list
> ADPasswordReset -PasswordList .\500-worst-passwords.txt
# Optionally include -Verbose
> ADPasswordReset -PasswordList .\twitter-banned.txt -Verbose
Create AD accounts using a CSV file from http://fakenamegenerator.com. Originally by Carlos Perez (@darkoperator), this version is ported to 2008 R2.
# First source in the cmdlet
> . Path\To\LabAccountImport-2008-R2.ps1
# Dry-run and test the CSV
> Test-LabADUserList -Path .\FakeNameGenerator.com_cf327b9.csv
# Remove any duplicates from the CSV
> Remove-LabADUserDuplicate -Path .\FakeNameGenerator.com_cf327b9.csv -OutPath .\UniqueUsers.csv
# Import the generated users
> Import-LabADUser -Path .\UniqueUsers.csv -OrganizationalUnit Sales
Initialize base setup of free VMs from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/.
> .\Setup-VM.ps1