Launching On-Prem SharePoint PowerShell

If the SharePoint commands are not recognized, it’s most likely that you need to import the SharePoint module. In order to do that, run the following command Add-PSSnapin Microsoft.SharePoint.PowerShell