Hi Varma,
Thanks for reaching out to Microsoft Q&A.
To uninstall using powershell:
1. Using the Get-WmiObject Method
use the following command (replace "ProgramName" with the actual program name):
Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -eq "ProgramName" } | ForEach-Object { $_.Uninstall() }
2. Using the Uninstall-Package Command:
- This method is useful for hidden or unknown programs.
- To directly remove a target program, open PowerShell and run:
Get-AppxPackage *ProgramName* | Remove-AppxPackage
To Download and Install NVM via PowerShell:
- NVM is not directly available for Windows, but we can use its Windows counterpart called “nvm-windows.”
- Follow these steps:
- Step 1: Head over to the nvm-windows repository.
- Step 2: Click on “Download Now!” to get the latest version
- Step 3: Locate the installer on your computer and run it. Follow the installation wizard.
- Step 4: Open PowerShell or Command Prompt and run:
nvm -v
Remember to restart your PC after uninstalling
Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.