How to install Sandboxed Solution with Powershell (SharePoint Management Shell)

Farm solutions can be installed with SharePoint Management Shell (PowerShell), but did you know that sandboxed solutions can be too? The cmdlets have almost the same name as the corresponding cmdlets for farm solutions, the difference being that “User” is inserted after the “SP”. To upload a sandboxed solution to a site collection’s Solution Gallery with PowerShell, use…