Error while Running Invoke Power Shell

Getting below error while invoking PS1 file using Invoke Power Shell…
Kindly please, give me solution for same.

@Lalit_Chaudhari

Before write power shell command and check it.

1 Like

Hey @Lalit_Chaudhari ,

In the properties section of Invoke Power Shell change the Type Argument to System.string.

1 Like

@Lalit_Chaudhari ,

Delete the variable output from variables panel and recreate it by clicking in the Output property and Ctrl+K

This way of declaring variable creates the variable with required datatype.

1 Like

thank you found this is helpful to me

thank you found this is worked to me

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.