Skip to content

totkeks/PowerShell-Module-Starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

PowerShell Module Starter

This is a simple template for a PowerShell module, based on a couple of blog posts I found on the internet. The official documentation is also very helpful.

Creating your own module

  • Fork or clone the repository
  • Replace StarterModule with your own module name
  • Find the TODO:s inside the files
    • RootModule name
    • Module GUID
    • Author name
    • Copyright statement in manifest (.psd1)
    • Copyright statement in LICENSE (if you want to publish it on GitHub and/or PowerShell Gallery)
  • Add private and public functions
  • Place module inside one of $env:PSModulePath
  • Run Import-Module <YourModule>
  • ???
  • Profit

About

Starter template for PowerShell that let's you easily create a new module.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published