A Gift For You - Active Directory & Exchange PowerShell User Management Script with 3 Dozen Actions
My Wife's Flower Garden

A Gift For You - Active Directory & Exchange PowerShell User Management Script with 3 Dozen Actions

Cimitra recently created a script (available on GitHub) with a customer who has Active Directory, and On-Premise Exchange. We decided to make some helpful usability features such as an 'Exclude Group' and 'User Search'. We then wrapped 38 different actions you can take on Active Directory and Exchange Users into one extremely easy-to-use script.

Whether you are using Cimitra, Rundeck, System Frontier, ScriptRunner, au2mator, PowerShell JEA, etc., this script should be easy to adapt to your own PowerShell Automation tool.

Here are the 38 actions you can accomplish with this script.

Add a User to Active Directory

Add a User to Exchange

Rename Active Directory User's SamAccountName

Change Exchange User's First Name

Change Exchange User's Last Name

Change Active Directory User's First Name

Change Active Directory User's Last Name

Modify User's Mobile Phone Number

Modify User's Office Phone Number

Modify User's Title

Modify User's Description

Modify Active Directory User's Manager

Modify User's Department

Add an Active Directory User to Active Directory Group by the Group GUID

Add an expiration date to an Active Directory User account

Remove an expiration date from an Active Directory User account

Determine which Active Directory User accounts are in a locked state

Get account access info on an Active Directory User account

Get a report of several attributes on an Active Directory User account

Find all information about an Active Directory Group

In an Active Directory tree, get a list of all users.

In an Active Directory tree, list all Users in a certain context.

In an Active Directory tree, list all disabled users.


要查看或添加评论,请登录

Tay Kratzer的更多文章

  • Just Keep Trying

    Just Keep Trying

    Years ago I was having a philosophical discussion with a work colleague (Willem Bagchus) regarding the changes we make…

  • Tay's Tales (From 40 Years Ago)

    Tay's Tales (From 40 Years Ago)

    LinkedIn is the one social media platform that truly makes me feel better. I love to read posts from people like Rob…

    2 条评论
  • PowerShell Hero Clinic

    PowerShell Hero Clinic

    On Labor Day weekend, my son and I fixed a leaky dishwasher. I have no expertise in dishwashers, but YouTube made us…

  • How To (Truly) Get Rid of Output

    How To (Truly) Get Rid of Output

    I was creating a script today, and I wanted to create a way for "errors" to just go away, for usability purposes, since…

    17 条评论
  • PowerShell Script to Structure Unstructured Data (SQL Data)

    PowerShell Script to Structure Unstructured Data (SQL Data)

    A Cimitra customer was retrieving data from an SQL database with PowerShell. This script below changes the loose SQL…

  • Storing PowerShell Script Variables In a Simple Text File

    Storing PowerShell Script Variables In a Simple Text File

    If you prefer not to change variables in your PowerShell script files, read on. If you prefer to pass in fewer…

  • Original Research on Combining The Power of Windows and Linux

    Original Research on Combining The Power of Windows and Linux

    Introduction Combine the power of Bash on Linux and PowerShell on Windows to create tools that are greater than the sum…

    1 条评论
  • 3 Ways To Learn a Topic Well

    3 Ways To Learn a Topic Well

    1. Learn something while attaching the knowledge you want to gain with a strong emotion attached, along with a deadline…

    1 条评论

社区洞察

其他会员也浏览了