Hi, ChitranshRajesh
This command you have to use it with other variants ah and you have to enter Administrator Mode, I'll leave an example that I use to repair applications in Windows, I hope you can solve the problem.
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}