imRegistry | where RegistryKey endswith "WDigest\\UseLogonCredential" and RegistryValueData =~ "DWORD (0x00000001)"