< Back
Remove-ZabbixMediaType
Post
NAME Remove-ZabbixMediaType
SYNOPSIS
Remove media types
SYNTAX
Remove-ZabbixMediaType [[-mediatypeid] <Array>] [[-jsonrpc] <String>] [[-session] <String>] [[-id] <String>]
[[-URL] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Remove media types
PARAMETERS
-mediatypeid <Array>
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-jsonrpc <String>
Required? false
Position? 2
Default value ($global:zabSessionParams.jsonrpc)
Accept pipeline input? false
Accept wildcard characters? false
-session <String>
Required? false
Position? 3
Default value ($global:zabSessionParams.session)
Accept pipeline input? false
Accept wildcard characters? false
-id <String>
Required? false
Position? 4
Default value ($global:zabSessionParams.id)
Accept pipeline input? false
Accept wildcard characters? false
-URL <String>
Required? false
Position? 5
Default value ($global:zabSessionParams.url)
Accept pipeline input? false
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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ZabbixMediaType | ? descr* -match MediatypeToDelete | Remove-ZabbixMediaType -WhatIf
WhatIf on deleting media types
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-ZabbixMediaType | ? descr* -match MediatypeToDelete | Remove-ZabbixMediaType
Remove media types
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Delete-ZabbixMediaType -mediatypeid (Get-ZabbixMediaType | ? descr* -match
MediaTypeToDelete-0[1-3]).mediatypeid
Delete media types
RELATED LINKS
SYNOPSIS
Remove media types
SYNTAX
Remove-ZabbixMediaType [[-mediatypeid] <Array>] [[-jsonrpc] <String>] [[-session] <String>] [[-id] <String>]
[[-URL] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Remove media types
PARAMETERS
-mediatypeid <Array>
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-jsonrpc <String>
Required? false
Position? 2
Default value ($global:zabSessionParams.jsonrpc)
Accept pipeline input? false
Accept wildcard characters? false
-session <String>
Required? false
Position? 3
Default value ($global:zabSessionParams.session)
Accept pipeline input? false
Accept wildcard characters? false
-id <String>
Required? false
Position? 4
Default value ($global:zabSessionParams.id)
Accept pipeline input? false
Accept wildcard characters? false
-URL <String>
Required? false
Position? 5
Default value ($global:zabSessionParams.url)
Accept pipeline input? false
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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ZabbixMediaType | ? descr* -match MediatypeToDelete | Remove-ZabbixMediaType -WhatIf
WhatIf on deleting media types
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-ZabbixMediaType | ? descr* -match MediatypeToDelete | Remove-ZabbixMediaType
Remove media types
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Delete-ZabbixMediaType -mediatypeid (Get-ZabbixMediaType | ? descr* -match
MediaTypeToDelete-0[1-3]).mediatypeid
Delete media types
RELATED LINKS