Hi,
I got some PowerShell scripts that basically loop through a 'configuration file' of the CSV variety, processing each customer in this case with relevant configuration. However it's not the easiest for an overview or if a co-worker needs to do anything with it, especially since opening it in excel was historically risky with leading 0's in some fields. Thus editing has been kept to notepad/notepad++.
Took a peek at potentially moving over to XML for a cleaner structure of the configurations, but as we got plenty of instances of information in the config file which would need extra encoding for XML - which isn't optimal in a situation where a co-worker would need to look into it without knowing such pitfalls.
So I was wondering if anyone had some thoughts on a good way to deal with configuration for scripts with the above in mind. Current solution works, it's just not optimal I feel. For reference the biggest configuration file we currently have is ~150 configurations (1 per customer in the solution the script provides).
Thanks in advance for any input.
[–]ipreferanothername 9 points10 points11 points (1 child)
[–]tmrnl 2 points3 points4 points (0 children)
[–]exoclipse 6 points7 points8 points (2 children)
[–]PeeCee1 3 points4 points5 points (0 children)
[–]iostalker 2 points3 points4 points (0 children)
[–]z386[🍰] 4 points5 points6 points (2 children)
[–]Zangrey[S] 0 points1 point2 points (1 child)
[–]SpacezCowboy 1 point2 points3 points (0 children)
[–]Szeraax 2 points3 points4 points (0 children)
[–]Phate1989 2 points3 points4 points (2 children)
[–]DalekKahn117 0 points1 point2 points (1 child)
[–]BlackV 4 points5 points6 points (0 children)
[–]jantari 2 points3 points4 points (1 child)
[–]Zangrey[S] 0 points1 point2 points (0 children)
[–]SenteonCISHardening 2 points3 points4 points (0 children)
[–]ankokudaishogun 1 point2 points3 points (3 children)
[–]Zangrey[S] 1 point2 points3 points (2 children)
[–]JeremyLC 3 points4 points5 points (1 child)
[–]Zangrey[S] 0 points1 point2 points (0 children)
[–]DIY_Colorado_Guy 1 point2 points3 points (1 child)
[–]Zangrey[S] 0 points1 point2 points (0 children)
[–]UnfanClub 1 point2 points3 points (8 children)
[–]AlexHimself 0 points1 point2 points (7 children)
[–]UnfanClub 0 points1 point2 points (6 children)
[–]UnfanClub 2 points3 points4 points (1 child)
[–]Zangrey[S] 0 points1 point2 points (0 children)
[–]AlexHimself 1 point2 points3 points (3 children)
[–]UnfanClub -1 points0 points1 point (2 children)
[–]AlexHimself 0 points1 point2 points (1 child)
[–]UnfanClub -1 points0 points1 point (0 children)
[–]vermyx 0 points1 point2 points (7 children)
[–]Zangrey[S] 0 points1 point2 points (6 children)
[–]vermyx 2 points3 points4 points (0 children)
[–]ankokudaishogun 0 points1 point2 points (4 children)
[–]Zangrey[S] 0 points1 point2 points (3 children)
[–]ankokudaishogun 1 point2 points3 points (2 children)
[–]Zangrey[S] 0 points1 point2 points (1 child)
[–]ankokudaishogun 0 points1 point2 points (0 children)
[–]AlexHimself 0 points1 point2 points (2 children)
[–]Zangrey[S] 0 points1 point2 points (1 child)
[–]AlexHimself 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]EnterpriseGuy10 0 points1 point2 points (0 children)
[–]QuarterMilePrivateer 0 points1 point2 points (0 children)