Changing Passwords in Powershell
Our current network policy requires a password change ever three months. Unfortunately, my Docker containers aren't connected to the domain so they don't recognize the change. That means, if I still want to use Windows authentication when connecting to their services, I have to update the containers. It's simple but I don't do it enough to keep it in my brain so I'm putting it here. It's just a matter of capturing your password as a secure string and using the Set-LocalUser command to set it.