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
6 months, 3 weeks ago.

  • Author
    Posts
  • #113185

    Participant
    Topics: 1
    Replies: 1
    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
    Topics: 13
    Replies: 4872
    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    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
    Topics: 1
    Replies: 1
    Points: 1
    Rank: Member

    Thanks, Don.  appreciate your insight

The topic ‘Creating my own Module? or not’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort