exported/New-CategoryValueObject.ps1
function New-CategoryValueObject { [CmdletBinding()] param( [Parameter(ParameterSetName='default', HelpMessage='API version.')] [string] ${ApiVersion}, [Parameter(ParameterSetName='default', HelpMessage='Description of the category value.')] [string] ${Description}, [Parameter(ParameterSetName='default', HelpMessage='Value for the category.')] [string] ${Value}) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\New-CategoryValueObject', [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters } $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } <# .ForwardHelpTargetName Nutanix.private\New-CategoryValueObject .ForwardHelpCategory Cmdlet #> } |