Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 1.68 KB

Remove-CWMCompanyContact.md

File metadata and controls

90 lines (67 loc) · 1.68 KB
external help file Module Name online version schema
ConnectWiseManageAPI-help.xml
ConnectWiseManageAPI
2.0.0

Remove-CWMCompanyContact

SYNOPSIS

Removes a contact.

SYNTAX

Remove-CWMCompanyContact [-id] <Int32> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Removes a company contact via ID.

EXAMPLES

Example 1

PS C:\> Remove-CWMCompanyContact -id $Contact.id

Will remove the contact given.

PARAMETERS

-Confirm

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

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

-id

The 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: 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

None

OUTPUTS

System.Object

NOTES

RELATED LINKS