Skip to content

Commit 2f1a927

Browse files
authored
Update Repair system apps.ps1
1 parent 0f8a66f commit 2f1a927

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

AppX/Repair system apps.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
Invoke-Expression "dism /online /Cleanup-Image /RestoreHealth"
2-
Invoke-Expression "sfc /scannow"
31
Get-AppxPackage -AllUsers | Where-Object InstallLocation -Like "*SystemApp*" | ForEach-Object {
42
$a=$_
53
Format-List -InputObject $a -Property Name,InstallLocation
64
Add-AppxPackage -Path "$($a.InstallLocation)\AppxManifest.xml" -Register -DisableDevelopmentMode
7-
}
5+
}

0 commit comments

Comments
 (0)