All Projects → martin9700 → Simpleadadmin

martin9700 / Simpleadadmin

Licence: mit
Lightweight tools for working with Active Directory users and groups. Also some domain discovery functions.

Programming Languages

powershell
5483 projects

Projects that are alternatives of or similar to Simpleadadmin

samba4-l1
🔴 Curso GRÁTIS SAMBA 4 Level 1 REPOSITÓRIO CONGELADO - Esse repositório não irá mais receber atualizações.
Stars: ✭ 60 (+566.67%)
Mutual labels:  activedirectory
ucsunivention
⚫ Curso GRÁTIS SAMBA-4 UCS Univention Core Free 5.x Domain Controller Active Directory Open Source
Stars: ✭ 29 (+222.22%)
Mutual labels:  activedirectory
Openrecord
Make ORMs great again!
Stars: ✭ 474 (+5166.67%)
Mutual labels:  activedirectory
adalanche
Active Directory ACL Visualizer and Explorer - who's really Domain Admin?
Stars: ✭ 862 (+9477.78%)
Mutual labels:  activedirectory
Linux-Active-Directory-join-script
Active directory Join script for Ubuntu, Debian, CentOS, Linux Mint, Fedora, Kali, Elementary OS and Raspbian with built in failchcheck and debugmode for Ubuntu. "The most advanced and updated AD join script on GITHUB for Linux"
Stars: ✭ 97 (+977.78%)
Mutual labels:  activedirectory
MicrosoftWontFixList
A list of vulnerabilities or design flaws that Microsoft does not intend to fix. Since the number is growing, I decided to make a list. This list covers only vulnerabilities that came up in July 2021 (and SpoolSample ;-))
Stars: ✭ 854 (+9388.89%)
Mutual labels:  activedirectory
Active Directory Scripts
Making my local storage of useful AD Scripts available to everyone.
Stars: ✭ 46 (+411.11%)
Mutual labels:  activedirectory
Pswinreporting
This PowerShell Module has multiple functionalities, but one of the signature features of this module is the ability to parse Security logs on Domain Controllers providing easy to use access to AD Events.
Stars: ✭ 575 (+6288.89%)
Mutual labels:  activedirectory
PSEventViewer
PSEventViewer (Get-Events) is really useful PowerShell wrapper around Get-WinEvent. One of the features you may be interested in is a simple way of getting “hidden” events data
Stars: ✭ 74 (+722.22%)
Mutual labels:  activedirectory
Waffle
Enable drop-in Windows Single Sign On for popular Java web servers.
Stars: ✭ 381 (+4133.33%)
Mutual labels:  activedirectory
SharpHound2
The Old BloodHound C# Ingestor (Deprecated)
Stars: ✭ 517 (+5644.44%)
Mutual labels:  activedirectory
ADLab
Custom PowerShell module to setup an Active Directory lab environment to practice penetration testing.
Stars: ✭ 143 (+1488.89%)
Mutual labels:  activedirectory
Ridrelay
Enumerate usernames on a domain where you have no creds by using SMB Relay with low priv.
Stars: ✭ 359 (+3888.89%)
Mutual labels:  activedirectory
ActiveDirectory
Active Directory Object Model Lib
Stars: ✭ 20 (+122.22%)
Mutual labels:  activedirectory
Sharphound
The Old BloodHound C# Ingestor (Deprecated)
Stars: ✭ 499 (+5444.44%)
Mutual labels:  activedirectory
docker-bloodhound
BloodHound Docker Ready to Use
Stars: ✭ 48 (+433.33%)
Mutual labels:  activedirectory
workfromhome-with-docker
HTML5 based remote desktop gateway using Apache Guacamole and Traefik Reverse Proxy including AD authentication and 2-FA
Stars: ✭ 42 (+366.67%)
Mutual labels:  activedirectory
Passcore
A self-service password management tool for Active Directory
Stars: ✭ 787 (+8644.44%)
Mutual labels:  activedirectory
Nishang
Nishang - Offensive PowerShell for red team, penetration testing and offensive security.
Stars: ✭ 5,943 (+65933.33%)
Mutual labels:  activedirectory
Gpozaurr
Group Policy Eater is a PowerShell module that aims to gather information about Group Policies but also allows fixing issues that you may find in them.
Stars: ✭ 381 (+4133.33%)
Mutual labels:  activedirectory

BuildStatus PowerShell Gallery

SimpleADAdmin

The idea behind SimpleADAdmin was to provide a single function to do your most common administrative tasks. When managing users on a day to day basis what do we do? Reset passwords, unlock accounts, add and remove from groups and do some forensics about why they locked out in the first place. All of this can be done from Get-SAUser. A new addition is Get-SAGroup which allows you to do similar things with Active Directory groups (see below).

Current functions available in SimpleADAdmin

Function Description Global Variable
Get-SAUser Manipulate user objects $SAUser
Get-SAGroup Manipulate groups $SAGroup
Get-SADomain Display domain information, including detailed site information None
Get-SADomainController Discover domain controllers, and their roles None

$SAUser

Get-SAUser creates a global variable called $SAUser, and this is where all the magic happens. After running Get-SAUser, it will display some basic details about the user (and a better default set then what Get-ADUser gives you) and populate the $SAUser variable. There is a lot more data in $SAUser then the default view, but I wanted to keep it simple. You use methods assigned to $SAUser to make changes (see below).

Blog post about Get-SAUser.

Populate $SAUser

All $SAUser properties

Methods

    AddGroup
              Usage: $SAUser.AddGroup("NameOfGroup")
        Description: Add the user to a group.
           Overload: You can add the name of a group in the overload and the function     					   will find all groups that match that name pattern and let you 
                     select which group or groups you want to add.  If you give an 
                     exact match it will just add it without prompting.

    FindLockout
              Usage: $SAUser.FindLockedout()
        Description: Will go to the PDC emulator and look for event ID 4740 (lockout)
                     in the Security Event Log. 
           Overload: None

    GetGroups
              Usage: $SAUser.GetGroups()
        Description: The "MemberOf" field will always show what groups the user is in,
                     but it's the FQDN.  Use the GetGroups() method to see just their
                     Name.
           Overload: You can add an overload to filter the result:
                     $SAUser.GetGroups("test")

    GetLastLogon
              Usage: $SAUser.GetLastLogon()
        Description: Will go out to all domain controllers in your domain and locate 
                     the latest logon for the user.
           Overload: None

    RemoveGroup
              Usage: $SAUser.RemoveGroup("NameOfGroup")
        Description: Remove the user from the specified group. 
           Overload: Name of the group, or closest match.  If you specify the exact name,
                     or the filter data you provide only has one match thenthe user will
                     be removed from the group without prompt.  If there are more then
                     one match you will be asked to select the group or groups you want
                     to remove.

    ResetPassword
              Usage: $SAUser.ResetPassword()
        Description: Method will then prompt for new password
           Overload: None

    Unlock
              Usage: $SAUser.Unlock()
        Description: Will unlock the user account
           Overload: None

Example of using a method

Get-SAGroup

Get-SAGroup works just like Get-SAUser, only focused on groups. A global variable call $SAGroup is created, which also features a number of methods for working with the group.

Methods

    GetMembers
              Usage: $SAUser.GetMembers()
        Description: Shows every user and group who is a member of the group.
           Overload: None

    GetMembersRecursive
              Usage: $SAUser.GetMembersRecursive()
        Description: Shows every user who is a member of the group, even if they are 
                     part of a group that's assigned to this one. 
           Overload: None

    AddMember
              Usage: $SAUser.AddMember(SamAccountName)
        Description: Add the designated user to the group
           Overload: SamAccountName for the user you want to add

    RemoveMember
              Usage: $SAUser.RemoveMember(SamAccountName)
        Description: Remove the designated user to the group
           Overload: SamAccountName for the user you want to remove

Dynamic Updates

One of the unique capabilities of both $SAUser and $SAGroup is the fact that all the properties in them will dynamically update every time you display the variable. You'll be able to monitor your changes in real time.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].