If you want to update Windows using Command Line, then this article will definitely help you with that. But you’d better back up system operating before that.
All the command you need is wuauclt /detectnow /updatenow to check, download and install updates, but if you want you can manage Windows updates using PowerShell.