How can I use Powershell to determine if a device is running in UEFI or Legacy boot mode and return a simple string that says "UEFI" or "Legacy"?