Unable to install the Azure AD module within Server 2012 R2 Power Shell

IT Guy
IT Guy used Ask the Experts™
on
After logging onto the Office 365 module within PowerShell on a Server 2012 R2 server and typing in the Install-Module -Name AzureAD command within PowerShell I receive an error message that says

"Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Install-Module -Name AzureAD
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Install-Module:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException"

What do I need to do so I can successfully install the Azure AD module within PowerShell?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2018
Distinguished Expert 2018
Commented:
Install-Module requires a current version of Powershell (WMF 5.0 or later, recommended) or at the very least the PowerShellGet module, if for whatever reason you need to remain on PS 3.0/4.0.

Windows Management Framework 5.1
https://www.microsoft.com/en-us/download/details.aspx?id=54616

PackageManagement PowerShell Modules Preview - March 2016
https://www.microsoft.com/en-us/download/details.aspx?id=51451

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial