Top
Deploy a SCCM Application using PowerShell
  • 07 Jul 2025
  • 3 Minuten zu lesen
  • Dunkel
    Licht
  • pdf

Deploy a SCCM Application using PowerShell

  • Dunkel
    Licht
  • pdf

The content is currently unavailable in German. You are viewing the default English version.
Artikel-Zusammenfassung

Note:

The following steps, for example, show how you can create an application to install the Whatfix extension on Edge using a PowerShell script.

Expand the following accordions to create an application and distribute the Whatfix extension:

Step 1: Create an application

The following example shows the steps to create the Whatfix extension on Chrome using a Powershell script:

  1. On your Windows system, open the Configuration Manager Console.


  2. Click Software Library.

  3. Expand Application Management.

  4. Right-click Applications, and then click Create Application.


  5. In the Create Application Wizard, select Manually specify the application information option.


  6. Click Next.

  7. Enter the information about the application that you are creating and then click Next.


  8. Click Next.

  9. Click Add. In this step you need to add the script installer.


  10. In the Type dropdown, select Script Installer.

  11. Click Next.


  12. Enter the details in the Name and Administrator comments fields.

  13. Click Next.


  14. Click Browse and select the path to the deployment content. For example, \\wfx-sccmps01\Whatfix Packages\


    Info:

    A folder must be created in the primary site server where you download and save the PowerShell script. In this step, select the location of the source folder. For example, \\wfx-sccmps01\Whatfix Packages\Powershell.


  15. In the Installation program field, enter the following code to install the extension for the Edge browser: powershell.exe -executionpolicy bypass -file "Whatfix-ExtensionInstall.ps1" -Browser Edge


    Info:

    If you want to install the extension on the Chrome browser using Powershell, enter the folowing command: powershell.exe -executionpolicy bypass -file "Whatfix-ExtensionInstall.ps1" -Browser Chrome


  16. In the Uninstall program field, enter the following code to uninstall the extension for the Edge browser: powershell.exe -executionpolicy bypass -file "Whatfix-ExtensionInstall.ps1" -Browser Edge -Remove True


    Info:

    If you want to uninstall the extension on the Chrome browser using Powershell, enter the folowing command: powershell.exe -executionpolicy bypass -file "Whatfix-ExtensionInstall.ps1" -Browser Chrome -Remove True


  17. Click Next.


  18. Click Add Clause.


  19. In the Detection Rule window, change the Setting Type to Registry.


    Info:

    In the Detection rule window, you need to configure a success criteria so that a deployment is successful.


  20. Select HKEY_LOCAL_MACHINE from the Hive dropdown.


  21. Click Browse.


  22. In the Browser Registry window, go to to the following path HKEY_LOCAL_MACHINESOFTWAREPoliciesEdgeExtensionInstallForcelist.


  23. Double-click the Registry Value as shown below.


  24. Select Data Type as String, and then click Ok.


  25. Click Next.


  26. In the User Experience tab, select the fields as shown below (Recommended):
    Installation behavior: Install for system
    Logon requirement: Whether or not a user is logged in
    Installation program visibility: Hidden
    Maximum allowed run time (minutes): 120
    Estimated installation time (minutes): 0


  27. Click Next.


  28. Verify the summary of the application, and then click Next. This creates the deployment configuration for the application.


  29. You are redirected to the Create Application Wizard window. Click Next to view the changes in the Summary tab.


  30. Click Next. This completes the creation of the Application.

    Info:

    The Completion tab displays the status once the application is successfully created.

Step 2: Distribute the application

After you have created the application, you must distribute the content to your end users system.

Use the following steps to distribute the Whatfix extension:

  1. Right-click the application you created in Step 1, and then click Distribute Content.


  2. Click Next.

  3. Click Next.

  4. Expand the Add dropdown, and then click Distribution Point. A distribution point is a server where the applications are hosted.

  5. Select the Distribution Points that hosts the Application, and then click Ok.

  6. Review the changes, and then click Next.

Step 3: Deploy the application

Use the following steps to deploy the Whatfix extension:

  1. Right-click the application, and then click Deploy.

  2. Click Browse.

  3. Select a Collection, and then click Ok. A Collection is a group of devices on which you want to deploy the extension.

  4. Click Next.


  5. The distribution points are automatically added. Click Next.

  6. In the Deployment Settings tab, set the Purpose to Required, and the other settings as follows:


  7. Click Next.

  8. In the Scheduling tab, click Next.

  9. Select the options as shown below, and then click Next.



  10. Verify the changes in the Summary tab, and then click Next. The wizard starts deploying the extension.

    Info:

    The Completion tab displays the following message if the Application is deployed successfully:

Step 4: View the distribution status of the application

Use the following steps to check the status and other details of your application:

  1. Select the application that you want to check the status of.


  2. In the Summary tab, click Content Status. You are redirected to the Monitoring section.

  3. The Monitoring section displays the status details of the application.

To know more about the deployment status of your application, see View SCCM Deployment Status.


War dieser Artikel hilfreich?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.