exported/New-VmIntentInputObject.ps1
function New-VmIntentInputObject { [CmdletBinding()] param( [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='The vm kind metadata')] [Nutanix.Powershell.Models.IVmMetadata] ${Metadata}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='An intentful representation of a vm spec')] [Nutanix.Powershell.Models.IVm] ${Spec}) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\New-VmIntentInputObject', [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-VmIntentInputObject .ForwardHelpCategory Cmdlet #> } |