Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

Adding or Removing Apps on the Sidebar in Microsoft Edge for Windows: PowerShell and Batch Script Examples

In this article, we will explore how to add or remove apps on the sidebar in Microsoft Edge for Windows using PowerShell and batch scripts. This functionality allows users to customize their sidebar with their preferred apps, enhancing their browsing experience. While the original article is not specific to the Windows environment, we will adapt the examples and instructions to align them with Windows.


Examples:


1. Adding an App to the Sidebar using PowerShell:
To add an app to the sidebar in Microsoft Edge using PowerShell, follow these steps:


Step 1: Open PowerShell with administrative privileges.
Step 2: Run the following command to add an app to the sidebar:


Add-AppxPackage -Path "C:\Path\to\AppxBundle.appxbundle"

Replace "C:\Path\to\AppxBundle.appxbundle" with the actual path to the AppxBundle file of the app you want to add.


2. Removing an App from the Sidebar using PowerShell:
To remove an app from the sidebar in Microsoft Edge using PowerShell, follow these steps:


Step 1: Open PowerShell with administrative privileges.
Step 2: Run the following command to remove an app from the sidebar:


Get-AppxPackage -Name "AppPackageName" | Remove-AppxPackage

Replace "AppPackageName" with the actual package name of the app you want to remove.


3. Adding an App to the Sidebar using a Batch Script:
To add an app to the sidebar in Microsoft Edge using a batch script, follow these steps:


Step 1: Open Notepad and create a new file.
Step 2: Add the following command to the file:


powershell -Command "Add-AppxPackage -Path 'C:\Path\to\AppxBundle.appxbundle'"

Replace "C:\Path\to\AppxBundle.appxbundle" with the actual path to the AppxBundle file of the app you want to add.


Step 3: Save the file with a .bat extension (e.g., AddApp.bat).
Step 4: Double-click the .bat file to run it and add the app to the sidebar.


To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.