external help file | Module Name | online version | schema |
---|---|---|---|
ConnectWiseManageAPI-help.xml |
ConnectWiseManageAPI |
2.0.0 |
Adds a company to a marketing group.
New-CWMMarketingGroupCompany [[-groupId] <Int32>] [[-id] <Int32>] [[-defaultContactFlag] <Boolean>]
[[-allContactsFlag] <Boolean>] [[-unsubscribeFlag] <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
Used to add a companied contacts to a marketing group.
PS C:\> New-CWMMarketingGroupCompany -groupId $Group.id -id $Company.id
Will add the company to the marketing manager group.
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill allContactsFlag Description }}
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill defaultContactFlag Description }}
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The ID of the marketing manager group you want to add the company contacts to.
Type: Int32
Parameter Sets: (All)
Aliases: parentId
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The id of the company you want to add contacts for.
Type: Int32
Parameter Sets: (All)
Aliases: companyId
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill unsubscribeFlag Description }}
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.