exported/New-ClientAuthObject.ps1
function New-ClientAuthObject { [CmdletBinding()] param( [Parameter(ParameterSetName='default', HelpMessage='Content of CA chain certificate.')] [byte[]] ${CaChain}, [Parameter(ParameterSetName='default', HelpMessage='Name of CA chain file.')] [string] ${Name}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='Status of client authentication.')] [string] ${Status}) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\New-ClientAuthObject', [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-ClientAuthObject .ForwardHelpCategory Cmdlet #> } |