"You want to remove some of the side-loaded Appx packages from your image and customize it further.
You boot into the reference computer and run one of the following PowerShell commands to remove the provisioning of the Appx package:
Remove-AppxProvisionedPackage –PackageName <PackageName>
Remove-ProvisionedAppxPackage –PackageName <PackageName>
When you run sysprep operation in this scenario, the operation may fail with the following error:
System Preparation Tool 3.14
A fatal error occurred while trying to sysprep the machine"
Get-AppXProvisionedPackage -Online | Select PackageName
Remove-AppXProvisionedPackage -Online -PackageName <PackageName>
Your Remove-AllJunk is basically
Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online