The term ‘Install-Module’ is not recognized When you try to Install dbatoolsPosted: June 21, 2019
If you are not on a machine with Powershell 5.1 or above, you will run into this error.
You can run command below to see the installed version.
$PSVersionTable.PSVersion ## or $PSVersionTable.PSVersion
You can try to download Windows Management Framework 5.1 to get Powershell 5.1.