---
title: "Deploy a SCCM Application using PowerShell"
slug: "deploy-an-application-using-powershell"
updated: 2025-07-07T07:43:43Z
published: 2025-07-07T07:43:43Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.whatfix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy a SCCM Application using PowerShell

> [!WARNING]
> 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**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_open_console.jpg)
2. Click **Software Library**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_software_library.jpg)
3. Expand **Application Management**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_software_library_expand_app_management.jpg)
4. Right-click **Applications**, and then click **Create Application**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(645).png)
5. In the **Create Application Wizard**, select **Manually specify the application information** option. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(646).png)
6. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png)
7. Enter the information about the application that you are creating and then click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(647).png)
8. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png)
9. Click **Add**. In this step you need to add the script installer. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(648).png)
10. In the **Type** dropdown, select **Script Installer**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(649).png)
11. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png)
12. Enter the details in the **Name** and **Administrator****comments** fields. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(650).png)
13. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png)
14. Click **Browse** and select the path to the deployment content. For example, `\\wfx-sccmps01\Whatfix Packages\` ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(651).png)

> [!NOTE]
> Info:
> 
> A folder must be created in the primary site server where you [download and save the PowerShell script](/studio/docs/single-installer-for-whatfix-extensions). 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` ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(658).png)

> [!NOTE]
> 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` ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(659).png)

> [!NOTE]
> 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**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png)
18. Click **Add Clause**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(669).png)
19. In the **De****tection Rule** window, change the **Setting Type** to **Registry**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(660).png)

> [!NOTE]
> 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. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(661).png)
21. Click **Browse**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(668).png)
22. In the **Browser Registry** window, go to to the following path **HKEY_LOCAL_MACHINE** → **SOFTWARE** → **Policies** → **Edge** → **ExtensionInstallForcelist.** ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(662).png)
23. Double-click the **Registry Value** as shown below. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(663).png)
24. Select **Data Type** as **String**, and then click **Ok**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(664).png)
25. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png)
26. In the******User Experience** tab, select the fields as shown below (Recommended): **Installation behavio**r: 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 ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(666).png)
27. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png)
28. Verify the summary of the application, and then click **Next**. This creates the deployment configuration for the application. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(667).png)
29. You are redirected to the **Create Application Wizard**window. Click **Next** to view the changes in the **Summary** tab. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(670).png)
30. Click **Next**. This completes the creation of the Application.

> [!NOTE]
> Info:
> 
> The Completion tab displays the status once the application is successfully created. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(671).png)

#### 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.** ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(672).png)
2. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(673).png)
3. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(674).png)
4. Expand the **Add** dropdown, and then click **Distribution Point**. A distribution point is a server where the applications are hosted. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_depoly_add_distribution_point.jpg)
5. Select the Distribution Points that hosts the Application, and then click **Ok**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_depoly_select_distribution_points.jpg)
6. Review the changes, and then click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(675).png)

#### Step 3: Deploy the application

Use the following steps to deploy the Whatfix extension:

1. Right-click the application, and then click **Deploy**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(680).png)
2. Click **Browse.** ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_depoly_browse.jpg)
3. Select a **Collection**, and then click **Ok**. A Collection is a group of devices on which you want to deploy the extension. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_deploy_collection_ok.jpg)
4. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png)
5. The distribution points are automatically added. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(681).png)
6. In the **Deployment Settings** tab, set the **Purpose** to **Required**, and the other settings as follows: ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(682).png)
7. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png)
8. In the **Scheduling** tab, click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(683).png)
9. Select the options as shown below, and then click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(684).png)
10. Verify the changes in the **Summary** tab, and then click **Next**. The wizard starts deploying the extension. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_depoly_summary.jpg)

> [!NOTE]
> Info:
> 
> The **Completion** tab displays the following message if the Application is deployed successfully: ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_depoly_task_succesful.jpg)

#### 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. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(677).png)
2. In the **Summary** tab, click **Content Status**. You are redirected to the **Monitoring** section. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(678).png)
3. The **Monitoring** section displays the status details of the application. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(679).png)

To know more about the deployment status of your application, see [View SCCM Deployment Status](/studio/docs/view-and-generate-sccm-deployment-status).
