exported/New-ClusterDomainServerObject.ps1
function New-ClusterDomainServerObject { [CmdletBinding()] param( [Parameter(ParameterSetName='default', HelpMessage='HELP MESSAGE MISSING')] [string] ${CredentialsPassword}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='HELP MESSAGE MISSING')] [string] ${CredentialsUsername}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='Joined domain name. In ''put'' request, empty name will unjoin thecluster from current domain.')] [string] ${Name}, [Parameter(ParameterSetName='default', HelpMessage='The IP of the nameserver that can resolve the domain name. Must setwhen joining the domain.')] [string] ${Nameserver}) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\New-ClusterDomainServerObject', [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-ClusterDomainServerObject .ForwardHelpCategory Cmdlet #> } |