Groups/Add-GPPGroup.ps1
function Add-GPPGroup { [OutputType([System.Void])] Param ( [Parameter(ParameterSetName = 'ByName', Mandatory)] [Parameter(ParameterSetName = 'ById', Mandatory)] [GPPItemGroup]$InputObject, [Parameter(ParameterSetName = 'ByName', Mandatory)] [string]$GPOName, [Parameter(ParameterSetName = 'ById', Mandatory)] [guid]$GPOId, [Parameter(ParameterSetName = 'ByName')] [Parameter(ParameterSetName = 'ById')] [GPPContext]$Context = $ModuleWideDefaultGPPContext ) Add-GPPGroupsItem @PSBoundParameters } |