70-649 · Question #197
Your company runs Remote Desktop Services. You plan to install an application update for the lobapp.exe application on the Remote Desktop Session Host Server. You find instances of the lobapp.exe…
The correct answer is C. End all instances of lobapp.exe in the Remote Desktop Services Manager console. D. Run the Tskill lobapp /a command on the Remote Desktop Session Host Server. Displays a list of currently running processes on the local computer or on a remote computer. Tasklist replaces the tlist tool. the following will work for a single instance: (Get-Process lobapp).Kill() This will not work on multiple instances: (Get-Process lobapp).Kill() But…
Question
Your company runs Remote Desktop Services. You plan to install an application update for the lobapp.exe application on the Remote Desktop Session Host Server. You find instances of the lobapp.exe processes left behind by users who have disconnected. You need to terminate all instances of the lobapp.exe processes so that you can perform an application update. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
Exhibit
Options
- ARun the Tasklist /fi "IMAGENAME eq lobapp.exe" command on the Remote Desktop Session Host Server.
- BRun the Get-Process cmdlet on the Remote Desktop Session Host Server.
- CEnd all instances of lobapp.exe in the Remote Desktop Services Manager console.
- DRun the Tskill lobapp /a command on the Remote Desktop Session Host Server.
How the community answered
(27 responses)- A19% (5)
- B7% (2)
- C74% (20)
Explanation
Displays a list of currently running processes on the local computer or on a remote computer. Tasklist replaces the tlist tool. the following will work for a single instance: (Get-Process lobapp).Kill() This will not work on multiple instances: (Get-Process lobapp).Kill() But one could argue that using the ForEach-Object commandlet circumvents the issue: (Get-Process lobapp)|ForEach-Object {$_.Kill()} However because this requires more than just the Get-Process cmdlet, I choose to render this
Topics
Community Discussion
No community discussion yet for this question.
