< Back

Get-ZabbixMediaType

Sun Jan 19, 2020 6:11 pm

NAME Get-ZabbixMediaType



SYNOPSIS

Get media types





SYNTAX

Get-ZabbixMediaType [[-jsonrpc] <String>] [[-session] <String>] [[-id] <String>] [[-URL] <String>]

[<CommonParameters>]





DESCRIPTION

Get media types





PARAMETERS

-jsonrpc <String>



Required? false

Position? 1

Default value ($global:zabSessionParams.jsonrpc)

Accept pipeline input? false

Accept wildcard characters? false



-session <String>



Required? false

Position? 2

Default value ($global:zabSessionParams.session)

Accept pipeline input? false

Accept wildcard characters? false



-id <String>



Required? false

Position? 3

Default value ($global:zabSessionParams.id)

Accept pipeline input? false

Accept wildcard characters? false



-URL <String>



Required? false

Position? 4

Default value ($global:zabSessionParams.url)

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



Get media types









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



PS C:\\>Get-ZabbixMediaType | ? description -match email



Get Email media type









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-ZabbixMediaType | ? descr* -eq EmailMediaType | New-ZabbixMediaType -Description

"DisabledCopyOfEmailMediaType" -status 1



Copy/Clone existing media type to new one, and disable it











RELATED LINKS