< Back

Get-ZabbixApplication

Sun Jan 19, 2020 6:10 pm

NAME Get-ZabbixApplication



SYNOPSIS

Get application





SYNTAX

Get-ZabbixApplication [[-HostID] <Array>] [[-TemplateID] <Array>] [[-GroupID] <Array>] [[-jsonrpc] <String>]

[[-session] <String>] [[-id] <String>] [[-URL] <String>] [<CommonParameters>]





DESCRIPTION

Get application





PARAMETERS

-HostID <Array>

Get by HostID



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-TemplateID <Array>

Get by TemplateID



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-GroupID <Array>



Required? false

Position? 3

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-jsonrpc <String>



Required? false

Position? 4

Default value ($global:zabSessionParams.jsonrpc)

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-session <String>



Required? false

Position? 5

Default value ($global:zabSessionParams.session)

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-id <String>



Required? false

Position? 6

Default value ($global:zabSessionParams.id)

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-URL <String>



Required? false

Position? 7

Default value ($global:zabSessionParams.url)

Accept pipeline input? true (ByPropertyName)

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-ZabbixApplication | ? name -match "appname" | ft -a



Get applications by name match









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



PS C:\\>Get-ZabbixHost -HostName HostName | Get-ZabbixApplication | ft -a



Get applications by hostname (case sensitive)









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



PS C:\\>Get-ZabbixApplication | ? name -match "appname" | ft -a



Get applications by name match









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-ZabbixTemplate | ? name -match Template | Get-ZabbixApplication | ft -a



Get application and template









-------------------------- EXAMPLE 5 --------------------------



PS C:\\>Get-ZabbixApplication -TemplateID (Get-ZabbixTemplate | ? name -match templateName).templateid | ? name

-match "appName" | ft -a



Get applications by TemplateID









-------------------------- EXAMPLE 6 --------------------------



PS C:\\>Get-ZabbixTemplate | ? name -match templateName | %{Get-ZabbixApplication -TemplateID $_.templateid } | ft

-a



Get applications by TemplateID









-------------------------- EXAMPLE 7 --------------------------



PS C:\\>Get-ZabbixHostGroup -GroupName "GroupName" | Get-ZabbixApplication



Get applications by GroupName (case sensitive)









-------------------------- EXAMPLE 8 --------------------------



PS C:\\>Get-ZabbixHost | ? name -eq SourceHost | Get-ZabbixApplication | New-ZabbixApplication -HostID

(Get-ZabbixHost | ? name -match newHost).hostid



Clone application(s) from host to host









-------------------------- EXAMPLE 9 --------------------------



PS C:\\>Get-ZabbixHost | ? name -eq host | Get-ZabbixApplication | New-ZabbixApplication -HostID

(Get-ZabbixTemplate | ? name -match "templateName").templateid



Clone application(s) from template to template











RELATED LINKS





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=Get-ZabbixDBSize; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-ZabbixDBSize [[-items] <Object>] [[-history] <Object>] [[-refreshRate] <Object>]

[[-trendsYears] <Object>] [[-valuesPerSec] <Object>]



ModuleName : psbbix

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-ZabbixDBSize

Category : Function

Component :

Role :

Functionality :