Create new bulk AD delegations with Powershell Feb. 22, 2017, 2:22 p.m.

Here’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).

active directory powershell sysadmin

DSC Tutorials Dec. 2, 2016, 3:28 p.m.

microsoft powershell windows

Creating PowerShell GUIs in Minutes using Visual Studio Nov. 17, 2016, 4:47 p.m.

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 gui

Cleanup Active Directory with PowerShell Sept. 2, 2016, 9:02 a.m.

PowerShell scripts to report on & manage inactive Active Directory objects, including users, computers, groups and OUs.

active directory powershell sysadmin windows

Ultimate PowerShell Prompt Customization and Git Setup Guide Aug. 29, 2016, 8:35 p.m.

By 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 powershell

Script PowerShell - HTML Notifications and Reports March 18, 2016, 4:35 p.m.

One 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