# -*- coding: utf-8 -*-

name = 'random-user-in-group'
description = 'add user randomly in group for AD Takeover all test'
ps = '''
$ErrorActionPreference = "Stop"
for($i = 1 ; $i -le 1500; $i++)
{
        $random = Get-Random -Minimum 1 -Maximum 41
	Add-ADGroupMember "gruppe$random" –Member "benutzer$i"
}
'''
