> Useless and intrusive Office Hub app keeps reinstalling itself. I
> want to easily uninstall it routinely with a F9 script.
>
> How do I run this elevated Powershell script from F9 ?
>
> Get-AppxPackage *officehub* | Remove-AppxPackage
>
> This below *doesn't* work:
>
>
> "%#ZTTOOLS%\elevate\elevate64" -c powershell.exe Get-AppxPackage *officehub* | Remove-AppxPackage
>
>
> where elevate64 is a free utility to bypass UAC warning
> http://code.kliu.org/misc/elevate/
>
> Thank you for your hint.
Try "%#ZTTOOLS%\elevate\elevate64" -c -w ...
Hope this helps, let us know.
Ron Metzger