| external help file | ConnectWiseManageAPI-help.xml |
|---|---|
| Module Name | ConnectWiseManageAPI |
| online version | https://developer.connectwise.com/manage/rest?a=Company&e=Configurations&o=DELETE |
| schema | 2.0.0 |
Removes a contact.
Remove-CWMCompanyContact [-id] <Int32> [-WhatIf] [-Confirm] [<CommonParameters>]
Removes a company contact via ID.
PS C:\> Remove-CWMCompanyContact -id $Contact.idWill remove the contact given.
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: FalseShows 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: FalseThe ID of the contact you want removed.
Type: Int32
Parameter Sets: (All)
Aliases: contactId
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.