powershell Get-NetAdapter command not recognized
16,480
According to http://blogs.technet.com/b/heyscriptingguy/archive/2014/01/15/using-powershell-to-find-connected-network-adapters.aspx, the NetAdapter module (and therefore the Get-NetAdapter command) needs Windows 8 or better.
Author by
aubreybourke
Catholic Male, 40 years old, married, living in Longford, Ireland.
Updated on August 01, 2022Comments
-
aubreybourke over 1 year
I am running Windows 7 Home Premium. I installed .Net4.5.1 and Powershell 4.0 It installed successfully. I can verify that because this command returns:
PS C:\Users\Aubrey\Documents> $PSVersionTable.PSVersion Major Minor Build Revision ----- ----- ----- -------- 4 0 -1 -1
However I cant run commands or scripts:
PS C:\Users\Aubrey\Documents> Get-NetAdapter Get-NetAdapter : The term 'Get-NetAdapter' 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 + Get-NetAdapter + ~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Get-NetAdapter:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException