exported/New-TargetGroupObject.ps1
function New-TargetGroupObject { [CmdletBinding()] param( [Parameter(ParameterSetName='default', HelpMessage='List of kinds associated with this filter.')] [string[]] ${CategoryFilterKindList}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='A list of category key and list of values.')] [System.Collections.Generic.IDictionary[string,string]] ${CategoryFilterParams}, [Parameter(ParameterSetName='default', HelpMessage='The type of the filter being used.')] [string] ${CategoryFilterType}, [Parameter(ParameterSetName='default', HelpMessage='Default policy for communication within target group.')] [string] ${DefaultInternalPolicy}, [Parameter(ParameterSetName='default', HelpMessage='Way to identify the object for which rule is applied.')] [string] ${PeerSpecificationType}) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\New-TargetGroupObject', [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-TargetGroupObject .ForwardHelpCategory Cmdlet #> } |