How to access parameters from within command schema? #778
Unanswered
aaroncorgan
asked this question in
Q&A
Replies: 1 comment 3 replies
-
using |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im using a powershell script to generate a manifest resource command schema. problem is, $input is null when i try to build the schema using the same 'args' as all of the rest of my manifest. If $input isnt available for generating schema via command, how else can I access those parameters?
"[parameters('foo')]"
doesnt work, $input doesnt work, $env:foo doesnt work, is there just no way to accomplish this particular goal? was hoping to avoid having to step outside of the dsc runtime to gather info but not sure I have much choice.these are the
args
used for all my commands in the resource manifest:Beta Was this translation helpful? Give feedback.
All reactions