-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the option to store plugin variables in an external CSV file #728
Comments
Issue alanrenouf#728 - Add the option to store plugin variables in an external CSV file
If this method is approved how should the PR be structured to update the other plugins? One PR per plugin or one PR for all the plugins? |
That feature is included in the v7 I'm still writing |
Awesome. Will v7 be released soon enough that it's not worth adding to the current version? |
I don't have a fixed target date for now, I'm afraid. |
This is possibly a good candidate for implementing in Get-vCheckSetting, although it will probably require some tweaks as we only pass the module title and setting name to the function Luc- have you started on v7 at all? I've got a bit of time (and more importantly, working with vSphere again), so happy to help out a bit if you want? |
Excuse me? |
The general code logic is if a CSV file exists in the plugin directory with the same name as the plugin then import the variables from the CSV file. The code snippet would go after any variable setting in the plugin.
I'll be submitting a PR linked to this issue shortly.
Code that will be added to the plugins:
Using '10 HA Configuration Issues.ps1' as an example.
Add a CSV file in the same directory as the plugin with the same name as the plugin but with the CSV extension:
10 HA Configuration Issues.csv
Populate the CSV file:
The text was updated successfully, but these errors were encountered: