Installing an eG VM Agent Using SCCM
System Center Configuration Manager (SCCM) is a systems management software product developed by Microsoft for managing large groups of computers running Windows NT, Windows Embedded, OS X, Linux or UNIX, as well as Windows Phone, Symbian, iOS and Android mobile operating systems. Configuration Manager provides remote control, patch management, software distribution, operating system deployment, network access protection and hardware and software inventory.
Like many other software, the eG VM Agent software can also be distributed or remotely deployed on multiple cloud desktops using the SCCM.
For this, you should use SCCM to run the VM agent installation PowerShell script on each target.
To achieve this, follow the steps below:
For this, follow the steps below:
-
Open the SCCM Console, and then click the Software Library option in the left panel of the console. The right panel will then change as displayed by Figure 1.
Figure 1 : Clicking on the Software Library option in the left panel of the SCCM Home Page
-
Now, proceed to create a script. For that, right-click on the Scripts option in left panel, and pick the Create Script option from the menu that pops out (see Figure 2).
Figure 2 : Selecting the Create Script option from the right-click menu of the Scripts option
-
This will open Figure 3. Here, assign a unique Script name and Script description. Then, pick PowerShell as the Script language, and indicate the Script timeout period.
-
Now, you need to provide the PowerShell Script that you want to create in SCCM for installing the eG VM agent. To obtain this script, open a browser, connect to the eG management console, and login to the manager as a user who has been assigned the Admin role. Figure 4 will then appear. Click on the
icon at the right, top corner (as highlighted in Figure 4) to download the eG agent/VM agent.
Figure 4 : Downloading the eG agent/VM agent from the eG manager
-
Figure 5 will then appear. To install the eG VM agent, click on the light-weight VM agent link at the bottom of the Download page, as indicated by Figure 5.
Figure 5 : Clicking on the light-weight VM agent link to download the VM agent
-
This will invoke Figure 6. To view the proprietary PowerShell script that eG Enterprise provides for installing the eG VM agent, first select Command Line (One-liner) as the Installation Method and Windows as the Operating System. Then, from the Environment drop-down, pick the flavor of Windows for which you need the script.
-
The PowerShell script will then be displayed in the text area below, as indicated by Figure 6. Click on the Copy button therein to copy the script.
-
Now, return to Figure 3 in the SCCM console. Paste the copied script in the Script text area therein and click the Next button to proceed.
-
Figure 7 will then appear displaying the script specifications. Review the script settings, and if satisfied , click Next in Figure 7 to move on.
-
This will begin script creation. Once the script is successfully created in the SCCM console, Figure 8 will appear confirming the same.
-
Finally, click the Close button in Figure 8 to exit the wizard. Figure 9 will appear, where the script you created will be displayed.
Figure 9 : The eG VM Agent Install script displayed in the list of scripts
-
Before running the script, you need to have it approved. In Microsoft SCCM, requiring a script to be approved before execution is a fundamental security mechanism designed to protect your infrastructure. Because the Run Scripts feature executes PowerShell code across thousands of client machines in near real-time, the approval workflow acts as a critical guardrail. As is evident from the Approval State displayed for the VM agent install script (see Figure 9), the script is 'waiting for approval'. To initiate approval for the script, select the script in Figure 9, right-click on it, and select the Approve/Deny option (see Figure 10).
-
Figure 11 will then appear. The Script Details will be displayed here. Click Next to continue.
-
Figure 12 will appear. Pick the Approve option in Figure 12, provide an Approve Comment if necessary, and click Next to proceed.
-
When Figure 13 appears, review the script Summary, and if OK, proceed with the approval process by clicking Next.
-
Upon successful script approval, Figure 14 appears. Now, click on Close in Figure 14 to exit the wizard.
-
Now that the script is approved, you can run the script on designated Windows targets to install the eG VM agent on them. A script can be run on individual devices or a device collection. Either way, to run the script, first select the Assets and Compliance option in the left panel of Figure 1, as soon as you land in the SCCM home page. Figure 15 will then appear.
-
To run the install script on a collection of devices simultaneously, do the following:
-
Expand the Overview node in the left panel of Figure 15 and click on Device Collections. The right-panel will then change to display the list of collections that pre-exist (see Figure 16).
-
In the right panel, locate the collection on which you want to install the eG VM agent and right-click on it. From the menu that pops out, pick the Run Script option (see Figure 17).
Figure 17 : Running a script on a specific device collection
-
Figure 18 will then appear. The approved scripts will be listed here. Select the eG VM agent install script from this list and click the Next button.
Figure 18 : Selecting the VM agent install script for execution on the chosen target
-
Figure 19 will then appear. Using Figure 19, you can, if required, schedule the script to execute at a specific day and time. After scheduling, click Next to continue.
-
Review the script execution settings in Figure 20 that then appears and click Next to move on.
-
Figure 21 will then appear, where you can monitor the progress of the script execution - i.e., the VM agent installation.
-
Once the script successfully executes and the VM agent is installed on the chosen target(s), click the Close button in Figure 21 to exit the wizard.
-
-
To run the install script on a particular device, do the following:
-
Expand the Overview node in the left panel of Figure 15 and click on Devices. The right-panel will then change to display the list of devices (see Figure 22).
Figure 22 : List of devices that are targets for VM agent installation
-
In the right panel, locate the device on which you want to install the eG VM agent and right-click on it. From the menu that pops out, pick the Run Script option (see Figure 23).
-
Then, proceed as described by steps c-g above for a device collection.
-