< Back

Remove-HiveContact

Sat Jan 18, 2020 8:57 pm

NAME Remove-HiveContact



SYNOPSIS

Removes Hive Contact





SYNTAX

Remove-HiveContact [-ID] <Guid> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Removes Hive Contact





PARAMETERS

-ID <Guid>

ID of Hive Contact to remove



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Accepts Pipeline input from Get-HiveContact





OUTPUTS







NOTES





Author: @pm091



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Remove-HiveContact -ID ccac1d4b-6a1b-4011-81f5-e67c1c817ba3 -Confirm:$false













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-HiveContact | Select-Object -ExpandProperty ID | Remove-HiveContact -Confirm:$false















RELATED LINKS

https://github.com/pm091/PowerHive/blob ... Contact.md