9 Replies Latest reply on Dec 2, 2015 2:40 PM by Bill Robinson

    How do I passing a role parameter in to nexec in a script?

    Charles Berman

      I have two role in BL.

      When I run nexec interactively it will ask me to select a role and my command will complete.


      I want to run the nexec is a script (a VBScript is the end method) but I am not sure how to pass the parmeter into the session.


      I know the env set BL_RBAC_ROLE=Eng_Unix_ENG and then export BL_RBAC_ROLE. But how do I pass that to the nexec command as it is being executed?

      I need to eliminate the prompting within the session for the answer.

      Thank you