Skip to content

Collection of powerful and user-friendly PowerShell scripts designed to streamline Active Directory management tasks. Simplify user, group, and computer management with this repository, tailored to enhance productivity and efficiency for IT administrators and system engineers.

License

Notifications You must be signed in to change notification settings

danielfeitopin/ADDS-Management-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ADDS Management Scripts

This repository contains a collection of useful PowerShell scripts for managing Active Directory Domain Services (ADDS). These scripts are designed to simplify common administrative tasks and improve efficiency when working with ADDS.

PowerShell Badge License: MIT GitHub issues GitHub forks GitHub stars

Table of Contents

Introduction

Active Directory Domain Services (ADDS) is a powerful directory service used to manage users, groups, computers, and other objects within a Windows domain. This repository provides a set of PowerShell scripts to help administrators streamline various management tasks.

Features

  • getdisconnectedcomputers.ps1: Returns a list of computers that have not connected since a specified number of days and their last logon date.
  • getpwdneverexpiresusers.ps1: Returns a list of users who have the "Password Never Expires" option checked.
  • removedisconnectedcomputers.ps1: Removes computers from Active Directory. This script can use the output of getdisconnectedcomputers.ps1 as input through the pipeline. Also, it provides additional info that can be saved to a file with the -logFile parameter.

Prerequisites

Before using the scripts, ensure you have the following:

  • Windows environment with PowerShell installed.
  • Appropriate permissions to manage Active Directory objects.

Usage

  1. Clone this repository to your local machine.
  2. Open PowerShell and navigate to the folder containing the scripts.
  3. Run the desired script.

⚠️ Please use the scripts responsibly and carefully, as they may modify critical AD objects.

Contributing

Contributions are welcome! If you have improvements, bug fixes, or new scripts to add, feel free to submit a pull request.

License

The content of this repository is licensed under the MIT License. You are free to use, modify, and distribute the code, but please include appropriate attribution.

About

Collection of powerful and user-friendly PowerShell scripts designed to streamline Active Directory management tasks. Simplify user, group, and computer management with this repository, tailored to enhance productivity and efficiency for IT administrators and system engineers.

Topics

Resources

License

Stars

Watchers

Forks