2015-02-11 12:08 AM
Solved! SEE THE SOLUTION
2015-02-11 01:08 AM
2015-02-11 01:13 AM
That is not exactly what I meant. I don't want any user input fields for the given fields. The value of the fields should be selected using the query. The user should not see anything of this values.
Or is there any other way to set a value with a query and use it like a user input?
2015-02-11 01:29 AM
@ Or is there any other way to set a value with a query and use it like a user input?
You can make use of the Posh cmdlet Invoke-MySqlQuery or Perl method invokeMysqlQuery in your command code to run a query and get the result in your command itself. Now use it. No need to declare it as a parameter.