Coder Social home page Coder Social logo

willymoselhy / domainmanagement Goto Github PK

View Code? Open in Web Editor NEW

This project forked from activedirectorymanagementframework/domainmanagement

0.0 2.0 0.0 319 KB

PowerShell module to manage domain level Active Directory resources

License: MIT License

PowerShell 99.92% C# 0.08%

domainmanagement's Introduction

Domain Management

The Project

The Domain Management Module is part of the Active Directory Management Framework.

Visit the Project Website for more details and the full documentation.

Synopsis

Module to manage Domain level Active Directory content. This module allows explicitly defining how a domain should be configured and then either validating an existing domain against the configured state, or bringing a domain into the configured state.

For most applications, it is recommended to use the tools provided by the ADMF module, rather than directly accessing the resources provided by this module:

Install-Module ADMF

For more details on how to define and manage configuration, see the documentation on the ADMF module.

Elementary Steps

First of all, it becomes necessary to define a desired state. For example, let's define a group:

Register-DMGroup -Name "SEC-0-Admins" -Path "OU=Groups,OU=Tier-0,%DomainDN%" -Description "Tier 0 Administrators group" -Scope DomainLocal

This allows us now to test, whether this group is properly configured:

# Local Domain
Test-DMGroup

# Target Domain
Test-DMGroup -Server contoso.com

# Target Domain with credentials
Test-DMGroup -Server contoso.com -Credential $cred

If we now want to apply those defined changes, all we need to do is invoke them:

# Local Domain
Invoke-DMGroup

# Target Domain
Invoke-DMGroup -Server contoso.com

# Target Domain with credentials
Invoke-DMGroup -Server contoso.com -Credential $cred

domainmanagement's People

Contributors

friedrichweinmann avatar javierrodger avatar testpersonal avatar willymoselhy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.