phase1-after.vbs:

Utils.Run “powershell.exe -ExecutionPolicy Bypass -Command “”Get-AppxPackage -AllUsers * | Remove-AppxPackage”””, 0, False
Utils.Run “powershell.exe -ExecutionPolicy Bypass -Command “”Get-AppxProvisionedPackage -online  | Remove-AppxProvisionedPackage -online”””, 0, False

phase1-after.ps1:

Get-AppxPackage -AllUsers * | Remove-AppxPackage
Get-AppxProvisionedPackage -online  | Remove-AppxProvisionedPackage -online