--- 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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%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-10T17%3A57%3A42Z&se=2026-11-10T18%3A57%3A42Z&sr=c&sp=r&sig=Kp6zx6KWszhV2skKwvV%2Bihylno9FNqtdQiGk%2F6dLBdQ%3D)