< Back

New-ZabbixSession

Sun Jan 19, 2020 6:12 pm

NAME New-ZabbixSession



SYNOPSIS

Create new Zabbix session





SYNTAX

New-ZabbixSession [-IPAddress] <String> [-PSCredential] <PSCredential> [[-URLCustomPath] <Object>] [-useSSL]

[-noSSL] [<CommonParameters>]





DESCRIPTION

Create new Zabbix session





PARAMETERS

-IPAddress <String>

Accept IP address or domain name



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PSCredential <PSCredential>

Credential



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-URLCustomPath <Object>



Required? false

Position? 3

Default value zabbix

Accept pipeline input? false

Accept wildcard characters? false



-useSSL [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-noSSL [<SwitchParameter>]

Connect to Zabbix server with plain http



Required? false

Position? named

Default value False

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:\\>New-ZabbixSession 10.10.10.10



Connect to Zabbix server









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



PS C:\\>Connect-Zabbix 10.10.10.10



Connect to Zabbix server









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



PS C:\\>Connect-Zabbix -IPAddress 10.10.10.10 -noSSL



Connect to Zabbix server with noSSL (http)









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



PS C:\\>Connect-Zabbix -User admin -Password zabbix -IPAddress zabbix.domain.net



Connect to Zabbix server









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



PS C:\\>Connect-Zabbix -IPAddress zabbix.domain.net -URLCustomPath ""



Connect to Zabbix server with custom frontend install https://zabbix.domain.net, instead of default

https://zabbix.domain.net/zabbix











RELATED LINKS