PrepAway - Latest Free Exam Questions & Answers

What command should you run?

Hotspot Question
You have a server that runs Windows Server 2012 R2 server named Server1. Server1 has Remote
Desktop Services (RDS) installed. You create a session collection named Session1 and publish a
RemoteApp in Session1. Server1 has an application named App1. The executable for App1 is
C:\\Apps\\App1.exe. You need to ensure that App1 is available as a RemoteApp in Session1. What
command should you run? To answer, select the appropriate options in the answer area.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
We need to publish App1 as a RemoteApp. We do this with the New-RDRemoteApp cmdlet. The –
CollectionName parameter allows us to specify the session as “Session1”. The display name for
the App1 will be “App1”. The -FilePath parameter allows us to specify the path to the executable
for App1.
Incorrect Answers:
Get-RDRemoteApp just retrieves information about existing RemoteApps. Set-RDRemoteApp is
used to reconfigure an existing RemoteApp. This question does not ask us to reconfigure the
existing RemoteApp; it asks us to make App1 available as (another) RemoteApp. Set-

RDSessionCollectionConfiguration is used to modify a session collection. It is not used to deploy a
RemoteApp to a session collection.
https://technet.microsoft.com/en-us/library/jj215450.aspx


Leave a Reply