--- title: "Create an Uninstall Program using PowerShell" slug: "create-an-uninstall-program-using-powershell-for-an-sccm-package" updated: 2025-05-28T02:08:33Z published: 2025-05-28T02:08:33Z canonical: "support.whatfix.com/create-an-uninstall-program-using-powershell-for-an-sccm-package" --- > ## 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. # Create an Uninstall Program using PowerShell The following example shows the steps to create an uninstall SCCM Program using PowerShell: 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?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=0s9ECBl8Oc7%2F3VfVuUgGFP9E6%2FeuS9dxHkKdlUvJgOA%3D) 2. Click **Software Library**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_software_library.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=wjmx1RMQ3wpk8TgPaBoe9gU4fQ94ha6GS83uPXZo0Rg%3D) 3. Expand **Application Management**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_software_library_expand_app_management.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=tAwYg8aMR06a37P9yX3CMZXXQ0ZzKz3NM7CkjIojlJc%3D) 4. Right-click the Package you just created, and click **Create Program.** ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_create_program.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=Q%2FI6Z%2F3zwDBTsvWvPEFFBs1X2g0J7eijwrOJxS7hXbo%3D) 5. In the **Create a Package and Program Wizard**, specify a name and other information. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_wizard_info.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=MUiw%2FdtT%2BuAPqA2bbaT9rf8pryhuAj740wNV98Grjyo%3D) 6. Select the **This package contains source files** checkbox. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_wizard_source_files_checkbox.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=fm9UncPiRPLyw%2BHg9vE77OWMrwsG8LW9pnhWvr3LjQ0%3D) 7. Click **Browse**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_wizard_browse.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=TKiUFhO9ZWONpdqx7cQqKhDC%2FHEkzHrAuW%2Bm5ASIiOc%3D) 8. In the **Set Source folder** window, select **Network path (UNC name)**, and then click **Browse** once again. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_wizard_network_browse.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=iIu8jCFaodwWm1t6GPJxwJ6mbjb%2BJpcQmrcXs8PqT6U%3D) 9. Select or enter a source path and then click **OK**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_wizard_browse_path_ok.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=x6faFHzdGUg%2Bx%2BcwBLtwUaJlJwELkyp0S36IiUtxdk0%3D) > [!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`. 10. Select **Standard program**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_wizard_standard_program.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=ive%2BeclvLHVobs58OIrWA3%2F96JroTS0aZo%2FdkU4eUxk%3D) 11. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=ZB90tEggkSmz%2FYaRfACT81Qpd31gGJEfkzZpBBS3Uog%3D) 12. In the **Specify information about this standard program** section, enter the following information for each field: - **Name**: Install Extension on Chrome - **Command line**: `powershell.exe -executionpolicy bypass -file "Whatfix-ExtensionInstall.ps1" -Browser Chrome -Remove True` - **Run**: Hidden - **Program can run**: Whether or not a user is logged in - **Drive mode**: Runs with UNC name ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_wizard_program_fields.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=y9%2FPZp7MI8rU0wiTb3wuiYvgIgCY35fXZ8nx%2BZ6ciaw%3D) > [!NOTE] > Info: > > If you want to create a program to uninstall the package on Edge, use the following command line: `powershell.exe -executionpolicy bypass -file "Whatfix-ExtensionInstall.ps1" -Browser Edge -Remove True` 13. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=ZB90tEggkSmz%2FYaRfACT81Qpd31gGJEfkzZpBBS3Uog%3D) 14. Select **This program can run on any platform**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_sys_req_plat.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=%2BWHmPPY2O1IBSfz7SceFmby8wju0LRcCSGSUYPjiWPE%3D) 15. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(717).png?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=ZB90tEggkSmz%2FYaRfACT81Qpd31gGJEfkzZpBBS3Uog%3D) 16. Click **Next**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_wizard_summary.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=Tj%2Bq4zYQv79hHdAkS38wUbCG%2Fm%2FiFjel0UPCmyQ4yyk%3D) > [!NOTE] > Info: > > The **Completion** section displays the following message if the Package is created successfully: ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sccm_package_wizard_success.jpg?sv=2026-02-06&spr=https&st=2026-11-16T23%3A00%3A00Z&se=2026-11-17T00%3A00%3A00Z&sr=b&sp=r&sig=cIfFjJsUfhityxg82Fn5bKRuRLWsfxHwT%2FIlKQr2Yyg%3D)