I am looking for guidance concerning performing the above task.
My Powershell script is as below, the script currently removes one specific named app.
$AppsToDelete="*Microsoft.WindowsReadingList*"
Foreach ($AppName in $AppsToDelete)
{
get-appxprovisionedpackage -online | where packagename -like $AppName | remove-appxprovisionedpackage -Online
Get-AppxPackage -name $AppName -allusers | Remove-AppxPackage
}
The program used by SCCM2012 to execute the script is as follows -
PowerShell.exe -ExecutionPolicy UnRestricted -File .\delappsreadinglistonly.ps1
I have created a program in SCCM 2012 and deployed to a client.
The program is set to run as the user, not system,
The EXECMGR.log file tells me the script is received by the client and has run successfully, exit code = 0, the execution status is Success.
That said, the Reading List tile is still on the ( Metro ?) start screen, the Reading List app still appears in the Apps by name alphabetical list and can be executed and various folders still exist in C:\program files\windowsapps\
Pointers would be appreciated.