-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
In v2.3.2 of PoshWSUS, when I run Get-Help -Name on the below commands, I get an error Get-Help : Unable to find type [Microsoft.UpdateServices.Internal.BaseApi.UpdateCategory]
Commands with faulty help:
- Approve-PSWSUSUpdate
- Deny-PSWSUSUpdate
- Get-PSWSUSClient
- Get-PSWSUSUpdate
- Get-PSWSUSUpdateApproval
- Get-PSWSUSUpdatePerClient
- Get-PSWSUSUpdateSummary
- New-PSWSUSGroup
- Remove-PSWSUSGroup
- Set-PoshWSUSProduct
- Set-PSWSUSConfigProduct
Full error message:
PSMessageDetails :
Exception : System.Management.Automation.RuntimeException: Unable to find type
[Microsoft.UpdateServices.Internal.BaseApi.UpdateCategory].
at System.Management.Automation.TypeOps.ResolveTypeName(ITypeName typeName, IScriptExtent errorPos)
at System.Management.Automation.Language.Compiler.GetAttribute(TypeConstraintAst typeConstraintAst)
at System.Management.Automation.Language.Compiler.GetRuntimeDefinedParameter(ParameterAst
parameterAst, Boolean& customParameterSet, Boolean& usesCmdletBinding)
at System.Management.Automation.Language.Compiler.GetParameterMetaData(ReadOnlyCollection`1
parameters, Boolean automaticPositions, Boolean& usesCmdletBinding)
at System.Management.Automation.CompiledScriptBlockData.InitializeMetadata()
at System.Management.Automation.CompiledScriptBlockData.get_CmdletBindingAttribute()
at System.Management.Automation.CommandMetadata..ctor(ScriptBlock scriptblock, String commandName,
ExecutionContext context)
at System.Management.Automation.FunctionInfo.get_CommandMetadata()
at System.Management.Automation.HelpCommentsParser..ctor(CommandInfo commandInfo, List`1
parameterDescriptions)
at System.Management.Automation.HelpCommentsParser.CreateFromComments(ExecutionContext context,
CommandInfo commandInfo, List`1 comments, List`1 parameterDescriptions, Boolean
dontSearchOnRemoteComputer, String& helpFile, String& helpUriFromDotLink)
at System.Management.Automation.CommandHelpProvider.GetHelpInfo(CommandInfo commandInfo, Boolean
reportErrors, Boolean searchOnlyContent)
at System.Management.Automation.CommandHelpProvider.<ExactMatchHelp>d__12.MoveNext()
at System.Management.Automation.HelpSystem.<ExactMatchHelp>d__22.MoveNext()
at System.Management.Automation.HelpSystem.<DoGetHelp>d__21.MoveNext()
at Microsoft.PowerShell.Commands.GetHelpCommand.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
TargetObject : Microsoft.UpdateServices.Internal.BaseApi.UpdateCategory
CategoryInfo : InvalidOperation: (Microsoft.Updat....UpdateCategory:TypeName) [Get-Help], RuntimeException
FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.GetHelpCommand
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at <ScriptBlock>, <No file>: line 6
at <ScriptBlock>, <No file>: line 2
PipelineIterationInfo : {}
Metadata
Metadata
Assignees
Labels
No labels