Setting Cross-Forest Passwords

In my test labs, some of the more specialized testing labs (perf, specifically) have one-way trust with the larger test domain.  This means I can set (or, in the case of some coworkers) reset credentials when they don’t log into the smaller domain frequently enough.  You can do it via dsa.msc and connecting it to…

0

PowerShell for Non-N00bs: Adding a User to a Group (with Script)

Here’s the one-liner: ([ADSI]”WinNT://$computerName/$localGroupName,group”).Add(“WinNT://$domainName/$userName”); But a script may be more useful for execution.          Add-UserToGroup.ps1

0