You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It simply just turns ifconfig into invoke-ifconfig.
Why would anyone use it ?
Several of the examples appear to turn command into invoke-command with longer parameter names (dd, ls, tar, who) without parsing the output.
Thanks for the feedback James O'Neill (@jhoneill). The samples are not intended to be complete solutions, rather samples of a particular feature or task. Having said that, I do agree that they can be improved, including some of the points you mention, to better help folks working with Crescendo.
Jason Helmick (@theJasonHelmick) Yes, understood, but samples shipped with code should be really knock-your-socks-off examples; some of those included are good, and this one, TBH, just isn't.
I'll update the description.
It doesn't matter if it can be replaced by an alias, that is not the point. It shows that a very simple example is possible.
Thanks James (James O'Neill (@jhoneill) ). We are all trying. as mentioned, I'll go through and take a look at places we could add additional examples and improvements in a future milestone.
Activity
theJasonHelmick commentedon May 23, 2022
Thanks for the feedback James O'Neill (@jhoneill). The samples are not intended to be complete solutions, rather samples of a particular feature or task. Having said that, I do agree that they can be improved, including some of the points you mention, to better help folks working with Crescendo.
jhoneill commentedon May 23, 2022
Jason Helmick (@theJasonHelmick) Yes, understood, but samples shipped with code should be really knock-your-socks-off examples; some of those included are good, and this one, TBH, just isn't.
JamesWTruher commentedon Jun 20, 2022
I don't agree that all the samples should be knock-your-socks-off examples. very simple examples should also be present to show a complete story.
jhoneill commentedon Jun 20, 2022
James Truher (@JamesWTruher)
YES, simple is good if it tells a story
Functionally this sample can be replaced with
new-alias -Name Invoke-IfConfig -Value ifconfigThe json contains
"Description": "This is the description for a parameter",which just looks like someone isn't trying.
JamesWTruher commentedon Jun 20, 2022
I'll update the description.
It doesn't matter if it can be replaced by an alias, that is not the point. It shows that a very simple example is possible.
theJasonHelmick commentedon Jun 20, 2022
Thanks James (James O'Neill (@jhoneill) ). We are all trying. as mentioned, I'll go through and take a look at places we could add additional examples and improvements in a future milestone.