Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Single Script vs Multiple Scripts

$
0
0

Does anyone have any opinions on whether to use a single large script, or to have a main script call from sub-scripts? For example, I am writing a script that runs some queries against SQL, backs up the data, adds more data, and copies some files on the system. This could very well be done easily in a single script, but I was just wondering how others feel about the organization of such.

 

Thanks for feedback!


Viewing all articles
Browse latest Browse all 6937

Trending Articles