4353 shaares
Downloads any free app and its dependencies from the Microsoft store.
Very useful if you cannot access the Microsoft store on a computer.
Usage example, to install the HEIF image codec to handle .avif images (hope you know what you are doing):
powershell -c "Set-ExecutionPolicy Unrestricted"
powershell .\Download-AppxFromStore.ps1 https://apps.microsoft.com/store/detail/extensions-dimage-heif/9PMMSR1CGPWG
powershell -c "Set-ExecutionPolicy RemoteSigned"
Then run the installer program downloaded.