Originally Microsoft gave the tutorial to change the password is no problem, but always feel uncomfortable, because the history can see all the commands, of course, including the text changed the command ...
So began to think how to encrypt, Linux that change password passwd really convenient ah.
Find is is and the ad Dynamic Directory related things, think of me to run the machine, there is no domain class, so did not try.
Try to roughly: Get and save an encrypted string, and then decrypted with the net user to change the password (actually do not encrypt it is OK, I just want to highlight the tall on the 2333)
The command is: (Running on the Raspberry Pi IoT core)
$SecurePassword = read-host-prompt "Enter password" –assecurestring
$SPpointer = [System.runtime.interopservices.marshal]::securestringtocotaskmemunicode ($SecurePassword)
$PlainPassword = [System.Runtime.InteropServices.Marshal]::P trtostringuni ($SPpointer)
NET user Administrator $PlainPassword
If you want to save it, use Set-content, then copy and paste it in one line ... Why not a VI-like editor Ah!
Reference link: http://social.technet.microsoft.com/wiki/contents/articles/4546. Working-with-passwords-secure-strings-and-credentials-in-windows-powershell.aspx
The two functions used in the original text are not on the Raspberry Pi, but the two functions should be a pointer to the plaintext password and read the data according to the pointer, with the tab can see what functions, turned over the above two closer so it is used, still works.
Alas, I didn't see anything with the Hdmi--dvi line.
Win10 IoT Core Change Password (PowerShell)