You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there is an error on line 8 of your RemoveApps.ps1 script on the Windows 11 removeapp zip folder. It's checking for the apps$($Buildnr).txt file and opening the Capabilities$($Buildnr).txt that may not exist and throw an exception
Currently its:
# If a capabilities file exist with a matching buildnumber it will remove the capabilities in it.
$FileExists = Test-Path "$($PSScriptRoot)\apps$($Buildnr).txt"
If ($FileExists) {
$Capabilities = Get-Content "$($PSScriptRoot)\Capabilities$($Buildnr).txt"
should be
# If a capabilities file exist with a matching buildnumber it will remove the capabilities in it.
$FileExists = Test-Path "$($PSScriptRoot)\Capabilities$($Buildnr).txt"
If ($FileExists) {
$Capabilities = Get-Content "$($PSScriptRoot)\Capabilities$($Buildnr).txt"
5422
The text was updated successfully, but these errors were encountered:
I believe there is an error on line 8 of your RemoveApps.ps1 script on the Windows 11 removeapp zip folder. It's checking for the apps$($Buildnr).txt file and opening the Capabilities$ ($Buildnr).txt that may not exist and throw an exception
Currently its:
should be
The text was updated successfully, but these errors were encountered: