This cmdlet is tricky to find in Google because searching for install powershell using powershell won’t give you much. So here it is:
Install-WindowsFeature PowerShell
or
Install-WindowsFeature PowerShell-V2
P.S. How to find exact name of particual Windows Feature to install?
Get-WindowsFeature | findstr PowerShell