< Back

Get-ZabbixScreen

Sun Jan 19, 2020 6:11 pm

NAME Get-ZabbixScreen



SYNOPSIS

Get screen from zabbix server





SYNTAX

Get-ZabbixScreen [[-UserID] <Array>] [[-ScreenID] <Array>] [[-ScreenItemID] <Array>] [[-jsonrpc] <String>]

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





DESCRIPTION

Get screen from zabbix server





PARAMETERS

-UserID <Array>



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ScreenID <Array>



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ScreenItemID <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-ZabbixScreen | ? name -match screenName



Get screen









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



PS C:\\>Get-ZabbixScreen | ? name -match "" | select * -ExcludeProperty screenitems | ft -a



Get screen









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



PS C:\\>Get-ZabbixScreen | ? name -match screenName | select * -ExcludeProperty screenitems | ft -a



Get screen









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



PS C:\\>Get-ZabbixScreen | ? name -match "" | select -Expands screenitems | ft -a



Get screen items









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



PS C:\\>Get-ZabbixScreen -ScreenID 20



Get screen









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



PS C:\\>Get-ZabbixScreen -UserID 1 | select screenid,name,userid | ft -a



Get screen









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



PS C:\\>Get-ZabbixScreen -UserID (Get-ZabbixUser | ? alias -match admin).userid



Get screen









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



PS C:\\>Get-ZabbixScreen | ? name -match screenName | Get-ZabbixUser



Get user, screen belongs to









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



PS C:\\>Get-ZabbixScreen -pv screen | ? name -match screenName | Get-ZabbixUser | select

@{n='Screen';e={$screen.Name}},userid,alias



Get screen names and related user info











RELATED LINKS