Single-click Installation of eG Agent on Individual AVD Session Hosts

This approach is ideal if you want to install eG agents on specific AVD session hosts in a host pool, and not on all of them.

The broad steps to achieve this are as follows: 

  1. Create the agent installation script

  2. Run the installation script on the target AVD session hosts

The procedure below includes all the steps mentioned above.

  1. Login to the admin portal of the Nerdio Manager.

  2. Figure 13 will then appear.

    Figure 13 : The Admin portal of the Nerdio Manager

  3. To create the agent installation script, first. expand the SCRIPTED ACTIONS node in the left panel, and click on the Windows scripts option within. The right panel will then change as depicted by Figure 14. Click on the Add scripted action button in the right panel to add a new script.

    Figure 14 : Clicking on the Add scripted action button

  4. Figure 15 will then appear. Here, provide a unique NAME for the new script.

    Figure 15 : Assigning a NAME to the new agent installation script

  5. Then, proceed to configure the entire agent installation script in the SCRIPT text area of Figure 15. For that, using another browser tab page, connect to the eG manager to which the eG agents on AVD session hosts should report. Login to the admin interface of the eG manager. Figure 16 will then appear.

    Figure 16 : The eG Admin interface

  6. Click on the button indicated by Figure 16 above. Figure 17 will then appear. Click on Microsoft AVD Session Hosts in Figure 17.

    Figure 17 : Choosing to discover/monitor Microsoft AVD Session Hosts

  7. This will open Figure 18. Select Command Line as the Installation Method. Then, pick an Operating System and Environment that match the OS and flavor of the session hosts on which the agent is to be installed. The agent installation PowerShell script that corresponds to your specification will then be displayed. Click on the Copy button below the script.

    Figure 18 : Copying the agent installation PowerShell script

  8. Then, switch back to Figure 15 of the Nerdio Manager , and paste the copied script in the SCRIPT text area (see Figure 19). Finally, click the Save & close button in Figure 19.

    Figure 19 : Pasting the agent installation script

  9. Now, proceed to run this script on target AVD session hosts. For that, first, click on the WORKSPACES node in the left panel of Figure 14. The right panel will change as depicted by Figure 21.

    Figure 20 : List of workspaces

  10. Click on the workspace that contains the host pools of interest to you. By default, the Dynamic host pools in the chosen workspace will be listed (see Figure 21).

    Figure 21 : The Dynamic host pools that pre-exist

  11. Let us say that the AVD session hosts to be monitored are within Static host pools. In this case, click on the Static host pools option under WORKSPACES in the left panel of Figure 21. This will open Figure 22.

    Figure 22 : Clicking on the Static host pools option

  12. Click on the static host pool that contains the target AVD session hosts.Figure 23 will then appear, displaying the AVD session hosts in the chosen pool.

    Figure 23 : The list of AVD session hosts in the static host pool

  13. To install the eG agent on any of the session hosts displayed therein, first, click on the down arrow button adjacent to the Power off button corresponding to that session host. From the menu that pops out, select the Run script option (see Figure 24).

    Figure 24 : Running the eG agent installation script on an AVD session host

  14. Figure 25 will then appear. From the 'Run the following Scripted actions . . .' drop-down, select the agent installation script you created previously.

    Figure 25 : Selecting the agent installation script to run

  15. Finally, click the Run now button in Figure 25.

  16. Now, repeat steps 12-15 on every AVD session host on which you want the agent deployed.