Add a domain group to a local workstation group.
Here we added domain admins, to a local ‘Offer Remote Assistance Helpers’ Group. ([ADSI]"WinNT://localhost/Offer Remote Assistance Helpers,group").Add("WinNT://YourDomain.com/Domain Admins")
View ArticleBulk Change Local Admin Password
This script reads a txt file that I generated by exporting a list of all the computers from an OU in Active Directory. The file has one column and each line has a computer name. First it does a ping on...
View ArticlePowershell to find expiring Active Directory accounts, and email the user.
Needed to write a script to check AD for expiring passwords, and email users if their password was going to expire in 8 or less days. Had issues with remote users never getting prompted that their...
View ArticlePowershell script to Monitor DFS replication.
Found this script that uses WMI and DFSRDiag that shows you the status of replication between DFS replicated folders. The output is nice, clean, and simple: 0 Files in backlog...
View ArticleUpdate to DFS Monitoring Script. Emails when there are errors.
Update to the DFS monitoring script here Powershell script to Monitor DFS replication. When it finds files in the backlog it will email out the output of the script to the address specified. Currently...
View Article