Creating my own Module? or not

Welcome Forums General PowerShell Q&A Creating my own Module? or not

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
2 weeks ago.

  • Author
    Posts
  • #113185

    Participant
    Points: 1
    Rank: Member

    does anyone have a constructive opinion on whether or not I should create a module with all my scripts contained in it or just create a menu of sorts?  I would like to be able to quickly recall my one line commands I use frequently some how...

    Thanks in advance.

     

  • #113354

    Keymaster
    Points: 1
    Rank: Member

    Both. Create a module containing function – that's a "tool script." Create a second script that does the menu – that's a "controller script." The menu runs the tools from the module.

  • #113387

    Participant
    Points: 1
    Rank: Member

    Thanks, Don.  appreciate your insight

You must be logged in to reply to this topic.