Skip to content

Latest commit

 

History

History
106 lines (79 loc) · 2.1 KB

Remove-CWMMarketingGroupCompany.md

File metadata and controls

106 lines (79 loc) · 2.1 KB
external help file Module Name online version schema
ConnectWiseManageAPI-help.xml
ConnectWiseManageAPI
2.0.0

Remove-CWMMarketingGroupCompany

SYNOPSIS

This function will remove a company from a marketing group.

SYNTAX

Remove-CWMMarketingGroupCompany -parentId <Int32> [-id] <Int32> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Remove-CWMMarketingGroupCompany -id 1 -CompanyId 1

Will remove company 1 from marketing group 1

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

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: False
Accept pipeline input: False
Accept wildcard characters: False

-id

The ID of the group you want to delete from.

Type: Int32
Parameter Sets: (All)
Aliases: companyId

Required: True
Position: 0
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-parentId

{{ Fill parentId Description }}

Type: Int32
Parameter Sets: (All)
Aliases: groupId

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Author: Chris Taylor Date: 1/9/2019

RELATED LINKS

https://developer.connectwise.com/products/manage/rest?a=Marketing&e=GroupCompanies&o=DELETE