In the example below, we are going to create two object specific ACEs with one granting the group âmyGroupâ the extended right âReset Passwordâ for all users and the other giving it permission to delete computer objects, all under the organizationUnit âmyOUâ.
active directory powershell sysadminHereâs a Powershell script I wrote to delegate permissions to a service account to manage user objects within a number of OUs. The script takes as input a file containing the distinguished names (DNs) of the OUs. The approach should be reasonably obvious from the comments in the script. The only complexity comes from having to get the correct System.DirectoryServices
syntax for the Access Control Entries (ACEs).
Creating PowerShell GUIs using XAMI in Visual Studio, instead of using the .net System.Windows.Forms class to create the GUI one element at a time.
powershell guiPowerShell scripts to report on & manage inactive Active Directory objects, including users, computers, groups and OUs.
active directory powershell sysadmin windowsBy the end of the article you will have a great looking prompt, a nice Git setup using ssh keys and even be able to squash commits on Windows.
git windows sysadmin powershellOne of PowerShellâs major strong points is its ability to interface with a variety of technologies and data sources. This makes it a great candidate for sending ad hoc notifications or generating HTML based reports. Use these functions to spice up HTML generated by PowerShell
sysadmin powershell windows