I’m exceedingly interested to hear how any GitHub users are choosing their project/repository structure for their PowerShell files. I’m already using Git, but not certain if I’m using it as well as i could.
As a background, I’ve a collection of several hundred scripts I’ve written, almost all of them containing one cmdlet per file. Some of these files fit nicely into an application category (i.e. SCCM), and others either come under a general category (e.g. a cmdlet that copies/removes items to/from the clipboard ). At the moment, I have a single repository called Work, mapped to a folder Work. Under this folder are folders for each application category (and a general one), with the scripts stored in the relevant folder.
Whilst I reckon the most important thing at the moment is that all my scripts are now version controlled, I’m pretty certain just using the one large repository for everything isn’t a good structure to do, but I’m also not certain if creating a repo per application is a good methodology either. It’s confusing me no end.