You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to update a KB article I constantly get errors 'A parameter cannot be found that matches parameter name 'ArticleId' This occurs only when I don't have the skipvalidation flag set
From what I can see, within set-halokbarticle the script is setting the parameter block with 'ArticleId' before the get-halokbarticle, but the get-halokbarticle is actually expecting 'kbarticleid' to be the parameter, therefore the validation fails as the supplied parameter is unknown.
I don't know enough about git to make the branch and associated pull request.
Version
latest
Which operating systems have you tested on?
Windows 10
Windows 11
Mac OS
Linux
What PowerShell version are you running?
7
Halo Product
Halo ISTM
Halo Version
2.174.102
What command did you run?
$ticketDetails=@{
id=194description_html="this is my text."
}
$ticketdetails|Set-HaloKBArticle
What was the output of the command?
HaloError.ps1:65
Line |
65 | throw $ErrorRecord.Exception.Message
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| A parameter cannot be found that matches parameter name 'ArticleId'.
The text was updated successfully, but these errors were encountered:
Contact Details
ian@nobbyclarke.net
What happened?
When trying to update a KB article I constantly get errors 'A parameter cannot be found that matches parameter name 'ArticleId' This occurs only when I don't have the skipvalidation flag set
From what I can see, within set-halokbarticle the script is setting the parameter block with 'ArticleId' before the get-halokbarticle, but the get-halokbarticle is actually expecting 'kbarticleid' to be the parameter, therefore the validation fails as the supplied parameter is unknown.
I don't know enough about git to make the branch and associated pull request.
Version
latest
Which operating systems have you tested on?
What PowerShell version are you running?
7
Halo Product
Halo ISTM
Halo Version
2.174.102
What command did you run?
What was the output of the command?
The text was updated successfully, but these errors were encountered: