Skip to content

A module for managing Active Directory Group Policy

Notifications You must be signed in to change notification settings

theologos7/gpmm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repo Template

This repository serves as a template for creating new PowerShell modules.

Getting Started

  1. Rename .\Source\Module.psd1 and .\Source\Module.psm1 to the proper name of the module which should be the name of the repository.
  2. Edit the following <ModuleName>.psd1 properties:
    • RootModule
      • Update to <ModuleName>.psm1
    • GUID
      • Generate and insert a new GUID with New-GUID
    • ProjectUri
    • HelpInfoURI
  3. Update the path in build.psd1 with the new name of your module.

Building with ModuleBuilder

If you want to build this PowerShell module, follow these steps:

  1. Install ModuleBuilder by running the following command in your PowerShell console:

    Install-Module ModuleBuilder
  2. Open a PowerShell console and navigate to the root directory of this repository.

  3. Run the following command to generate the module manifest and build the module:

    Build-Module -UnversionedOutputDirectory
  4. ModuleBuilder will analyze your module's code and generate the necessary files, including the module manifest (<ModuleName>.psd1) and the module script (<ModuleName>.psm1).

  5. Once the build process is complete, you can find the built module in the Output directory.

For more information on how to use ModuleBuilder, please refer to the ModuleBuilder documentation.

About

A module for managing Active Directory Group Policy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published