This isn’t something I’ve had to do so I’m approaching this objectively from a PowerShell perspective.
AppX is a binary module available only in Windows PowerShell.
The article you linked to appears to be an AI generated website so I suspect that the AI hallucinated the Update-AppxPackage cmdlet as it truly does not exist.
get-command -Module Appx | Where-Object {$_.Name -match 'update'}
CommandType Name Version Source
----------- ---- ------- ------
Alias Get-AppPackageAutoUpdateSettings 2.0.1.0 appx
Alias Remove-AppPackageAutoUpdateSettings 2.0.1.0 appx
Alias Set-AppPackageAutoUpdateSettings 2.0.1.0 appx
Cmdlet Get-AppxPackageAutoUpdateSettings 2.0.1.0 appx
Cmdlet Remove-AppxPackageAutoUpdateSettings 2.0.1.0 appx
Cmdlet Set-AppxPackageAutoUpdateSettings 2.0.1.0 appx
Just another example of AI leading people astray. A quick search of the internet is not revealing a lot of options for directly updating Windows Store apps via PowerShell.
There’s some references about using WMI, and another one that talks about starting the ‘ms-appx://’ process with arguments, but I’m not seeing PowerShell cmdlets directly related to it.