Inicio > windows > Problem in power shell with “Install-windowsFeature” or “Add-WindowsFeature”

Problem in power shell with “Install-windowsFeature” or “Add-WindowsFeature”

Under power shell I got the following error message when using the Install-WindowsFeature command…see below..

Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS C:\Users\administrator.TECHLABTEST> import-module servermanager
PS C:\Users\administrator.TECHLABTEST> Install-WindowsFeature
Install-WindowsFeature : The term ‘Install-WindowsFeature’ is not recognized as the name of a cmdlet
file, or operable program. Check the spelling of the name, or if a path was included, verify that th
and try again.
At line:1 char:1
+ Install-WindowsFeature
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (Install-WindowsFeature:String) [], CommandNotFoundExc
+ FullyQualifiedErrorId : CommandNotFoundException

 

SOLUTION:

1- What are the permissions that you are running that powershell prompt within? Domain / Local admin?

2- Also, make sure you are not running the 32 bit version of powershell.

 

de ná !

 

  1. Aún no hay comentarios.
  1. No trackbacks yet.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: