Run Winget via an Offer in Self-Service

Does this post help - Why does the powershell script "winget" doesn't work with BigFix? ?