To provide WMI privilages for a non administrator user. Supply the username and required permissions as parameters.
WMI Privilages for a non-administrator user using Powershell
To block inheritance of GPO on an OU.Supply Fully qualified domain name and distinguished name of OU as parameters.
Block inheritance of GPO on an OU using Powershell
For an administrator to force a user to change password at next logon . Supply the distinguished name of user as a parameter.
Powershell Script to Force user to change password at next logon
Execute the below script , to get the list of types of classes defined by Active Directory.
List all classes in a schema
To Create an Organisational Unit in a selected path. Supply OU name and the path where OU has to be created as parameters.
Create an Organisational Unit in a selected path
Powershell script to create a custom attribute for the name mynewattribute.
Create custom attributes in Active Directory
To create a subnet and link it with existing site . Supply forest distinguished name and site distinguished name as parameters.
Powershell Script to create a subnet and link it with existing site
To configure Universal Group Membership Caching in Active Directory . Supply the distinguished name of the site as parameter. Configure Universal Group Membership Caching for a site
To add an ActiveDirectory-Integrated Forward Lookup Zone in DNS of a domain. Add a Forward Lookup Zone in DNS
FSMO roles – Flexible Single Master Operation roles. Determine Active Directory FSMO Holders in a Forest