Below command is working to publish one app, I need to create around 1000 Apps, same
can feed -displayname, -requiredcommandline, and -usergroups from a file. please suggest.
I tried from get-content but getting error Cannot convert value to type System.String.
Probably a CSV file would fit your need a little better than a plain text file. You would need Import-CSV and a loop to do the rest of the trick. 😉
Could you please choose a more guiding "subject" or "title" for your question next time? Thanks