Need Help to publish multiple remote app in rds

This topic contains 2 replies, has 2 voices, and was last updated by  Keshav Prasad 3 months ago.

  • Author
  • #93681

    Keshav Prasad


    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.

    New-RDRemoteApp -CollectionName "Apps" -DisplayName "test" -FilePath "c:\windows\system32\mstsc.exe" -CommandLineSetting Require -RequiredCommandLine "/v:systemname:3389" -UserGroups domain\user

    Thanks in Advance

  • #93682

    Olaf Soyk

    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

  • #93688

    Keshav Prasad

    Sure Thank You.

You must be logged in to reply to this topic.