https://github.com/ucdavis/adgroup_sync_ps
A PowerShell solution for syncing AD group membership
https://github.com/ucdavis/adgroup_sync_ps
activedirectory powershell
Last synced: 6 months ago
JSON representation
A PowerShell solution for syncing AD group membership
- Host: GitHub
- URL: https://github.com/ucdavis/adgroup_sync_ps
- Owner: ucdavis
- Created: 2021-10-22T23:04:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-28T20:04:59.000Z (over 4 years ago)
- Last Synced: 2025-09-24T10:48:07.012Z (6 months ago)
- Topics: activedirectory, powershell
- Language: PowerShell
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## AD Group Sync
A PowerShell solution for syncing AD group membership with text files, containing user IDs or email addresses, and\or payroll information listed on AD accounts extended properties.
Upon first run, the script will create the config.json file used to store the settings. Edit the file to fit your environment.
Currently, the AD group being sync'd are located in a child domain and the user accounts are located in the parent domain.
Group retrieval by GUID reduces configuration file maintenance.
### Required Setup
The PowerShell Active Directory Module must be installed on the system.
```powershell
# On Windows 10 systems
Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
```
Pull the GUID of an AD Group
```powershell
(Get-ADGroup -Identity MyGroupName -Server child.parent.mycollege.edu).ObjectGUID.ToString();
```