I am using a registry-based approach to prevent disabling or uninstalling Microsoft Edge extensions. However, I need a Package Family Names of extension to achieve this.
I tried the below command in PowerShell to get it for a particular extension but with no luck.
> Get-AppxPackage ExtensionName
source: Prevent turning off required extensions https://docs.microsoft.com/en-us/microsoft-edge/deploy/group-policies/extensions-management-gp
**
around the extension name? Besides, you can run PowerShell as Administrator and try again. – Yu Zhou