1

Resolved

Invalid parameters used to call Get-ActionSite from within Read-RelayVersion

description

The error messages are as follows.
 
Get-ActionSite : A parameter cannot be found that matches parameter name 'Root'.
At C:\Users\Daniel\Documents\WindowsPowerShell\Modules\psTEM\Relay\Relay.psm1:1761 char:58
  • $root = Get-ActionSite -HostName $infra.TEMRoot -Root <<<< $infra.TEMRoot -Port $infra.TEMPort
    • CategoryInfo : InvalidArgument: (:) [Get-ActionSite], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Get-ActionSite
       
      AND
       
      Get-ActionSite : A parameter cannot be found that matches parameter name 'Root'.
      At C:\Users\Daniel\Documents\WindowsPowerShell\Modules\psTEM\Relay\Relay.psm1:1847 char:52
  • $rly = Get-ActionSite -HostName $HostName -Root <<<< $infra.TEMRoot -Port $infra.TEMPort
    • CategoryInfo : InvalidArgument: (:) [Get-ActionSite], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Get-ActionSite

comments

DanielHeth wrote Jun 27, 2012 at 10:44 PM

To fix this, we modified the parameter names used to call the Get-ActionSite function.
-Root was changed to -TEMRoot

This is a result of adding detail to parameters before official release. Read-RelayVersion was overlooked during the review process.

wrote Jun 27, 2012 at 10:45 PM

wrote Feb 13, 2013 at 4:21 AM

wrote May 16, 2013 at 2:37 AM

wrote May 16, 2013 at 2:37 AM

wrote Jun 14, 2013 at 7:55 AM