To install the module, run:
Install-Module PSWindowsUpdate
Running the module commands requires and elevated PS prompt.
To list available updates:
Get-WindowsUpdate
And finally, to download and install the updates:
Install-WindowsUpdate -AcceptAll