lazywinadmin / ScriptingGames2014Winter

PowerShell Scripting Games 2014 (Winter)
8 stars 3 forks source link

What kind of format should we use for our final script ? multiple files ? Posh Module ? #3

Open lazywinadmin opened 10 years ago

lazywinadmin commented 10 years ago

We work on one solution that scan IPs... gather info and show this information in a report...

Would it make sense to make a PowerShell module ?

DexterPOSH commented 10 years ago

In my opinion we can have a final Script Module at the end....

Stephanevg commented 10 years ago

Hello all,

Thanks for mentionning this FX. I personally think that whe should have as less files as possible in order to avoid to have any cases where some "missing file" / "file corrupt" / "Wrong version" situation could occur.

The module could defenitley be a plus in order to work all with the same functions and make our team work easier. But if i am correct, a module should only be used when we reuse often the same functions, want to share them, of a same technology/subject, and have more then a few to put in. For example, if we have only 4 or 5 functions I guess it is not really necessary.

I think that the most effective could be to have one single script for the juges. (if possible of course).

Best thing should have all the functions (function name, main function, input needed, and output generated) that need to be written (or already finished) by our next meeting on saturday. Like this we will have the exact number of functions needed, we can then eventually share them between each of us and really start to produce some code (finally :dancer: ). (some of them have already been identified in the visio file).

Angelus666 commented 10 years ago

Hi Everybody,

I've updated the visio file.

Now Benny will work on the Export part with stephane part and me i will work on the ip-scan part with dexter

2014/1/3 Stephanevg notifications@github.com

Hello all,

Thanks for mentionning this FX. I personally think that whe should have as less files as possible in order to avoid to have any cases where some "missing file" / "file corrupt" / "Wrong version" situation could occur.

The module could defenitley be a plus in order to work all with the same functions and make our team work easier. But if i am correct, a module should only be used when we reuse often the same functions, want to share them, of a same technology/subject, and have more then a few to put in. For example, if we have only 4 or 5 functions I guess it is not really necessary.

I think that the most effective could be to have one single script for the juges. (if possible of course).

Best thing should have all the functions (function name, main function, input needed, and output generated) that need to be written (or already finished) by our next meeting on saturday. Like this we will have the exact number of functions needed, we can then eventually share them between each of us and really start to produce some code (finally [image: :dancer:] ). (some of them have already been identified in the visio file).

— Reply to this email directly or view it on GitHubhttps://github.com/lazywinadmin/WinterScriptingGames2014/issues/3#issuecomment-31513085 .

guidooliveira commented 10 years ago

I think one file script is enough, just well organized and properly indented