0

After setting all the variables, when I executed deploy.ps1 script received below error

I also tried the below command to resolve this issue but still, the error is coming.

$PSDefaultParameterValues["Disabled"] = $true

Error:

Install-SitecoreConfiguration : A parameter cannot be found that matches parameter name 'Timeout'. This error might
have been caused by applying the default parameter binding. You can disable the default parameter binding in
$PSDefaultParameterValues by setting $PSDefaultParameterValues["Disabled"] to be $true, and then trying again. The
following default parameters were successfully bound for this cmdlet when the error occurred: -Verbose -WhatIf -Debug
-InformationAction -ErrorAction -WarningAction
At C:\ContentHub\Draft\Local\deploy.ps1:32 char:1
+ Install-SitecoreConfiguration @scchWdpParams
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

[TIME] 00:00:01
Invoke-ManageAppPoolTask : A parameter cannot be found that matches parameter name 'Timeout'. This error might have
been caused by applying the default parameter binding. You can disable the default parameter binding in
$PSDefaultParameterValues by setting $PSDefaultParameterValues["Disabled"] to be $true, and then trying again. The
following default parameters were successfully bound for this cmdlet when the error occurred: -Verbose -WhatIf -Debug
-InformationAction -ErrorAction -WarningAction
At C:\Program
Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Install-SitecoreConfiguration.ps1:641 char:25
+                         & $entry.Task.Command @paramSet | Out-Default
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-ManageAppPoolTask], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : NamedParameterNotFound,Invoke-ManageAppPoolTask
1
  • Not sure but looks like you are missing some prerequisite Sitecore modules before installing this. Aug 18, 2022 at 15:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy