In standalone (non-domain-joined) Windows, is it possible to use PowerShell to check if a given local user account has a password set / a blank password?
According to https://gallery.technet.microsoft.com/scriptcenter/How-to-check-if-a-local-870ab031 and https://blogs.technet.microsoft.com/heyscriptingguy/2005/10/06/how-can-i-verify-that-none-of-my-local-user-accounts-have-a-blank-password/, this is possible with VBScript but only because ChangePassword
requires you to supply the original password whereas the PowerShell commands don't seem to.
I read somewhere that you can verify a password by running a process as the user with their credentials and note the result but, apparently, you can't use an empty string as credentials.