exported/New-IpConfigObject.ps1
function New-IpConfigObject { [CmdletBinding()] param( [Parameter(ParameterSetName='default', HelpMessage='Fully qualified domain name.')] [string] ${AddressFqdn}, [Parameter(ParameterSetName='default', HelpMessage='IPV4 address.')] [string] ${AddressIp}, [Parameter(ParameterSetName='default', HelpMessage='IPV6 address.')] [string] ${AddressIpv6}, [Parameter(ParameterSetName='default', HelpMessage='Port Number')] [int] ${AddressPort}, [Parameter(ParameterSetName='default', HelpMessage='Default gateway IP address.')] [string] ${DefaultGatewayIp}, [Parameter(ParameterSetName='default', HelpMessage='Spec for defining DHCP options.')] [Nutanix.Powershell.Models.IDhcpOptions] ${DhcpOptions}, [Parameter(ParameterSetName='default', HelpMessage='HELP MESSAGE MISSING')] [string[]] ${PoolList}, [Parameter(ParameterSetName='default', HelpMessage='HELP MESSAGE MISSING')] [int] ${PrefixLength}, [Parameter(ParameterSetName='default', HelpMessage='Subnet IP address.')] [string] ${SubnetIp}) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\New-IpConfigObject', [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-IpConfigObject .ForwardHelpCategory Cmdlet #> } |