Install Roles not show any result

Feb 16, 2011 at 1:54 PM

I everyone, when I try to install a new role on the Windows 2008 R2 Enterprise edition nos show nothing, and on the powershell windows show that,

Best Regards,


PSPath       : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\
               Microsoft\Core Configurator
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\
PSChildName  : Core Configurator
PSDrive      : HKLM
PSProvider   : Microsoft.PowerShell.Core\Registry
CEIP Count   : 1

Excepción al llamar a "Contains" con los argumentos "1": "El valor no puede ser
Nombre del parámetro: value"
En C:\CoreConfig\Roles.ps1: 518 Carácter: 23
+       if ($tt.Contains <<<< ($element))
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

Jul 19, 2011 at 3:38 PM


maybe you are using a non english verison of 2008 server ?

line 508, for instance, works fine with english version :

if ($myoutputline.Contains("Not Installed"))

in french version this line should be :

if ($myoutputline.Contains("Non installé")) to work properly.

Same thing for few others lines in Roles.ps1 file.