< Back

Remove-ZabbixHttpTest

Sun Jan 19, 2020 6:13 pm

NAME Remove-ZabbixHttpTest



SYNOPSIS

Delete web/http test





SYNTAX

Remove-ZabbixHttpTest [-HttpTestID] <Array> [-Name] <String> [[-jsonrpc] <String>] [[-session] <String>] [[-id]

<String>] [[-URL] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Delete web/http test





PARAMETERS

-HttpTestID <Array>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Name <String>



Required? true

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-jsonrpc <String>



Required? false

Position? 3

Default value ($global:zabSessionParams.jsonrpc)

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-session <String>



Required? false

Position? 4

Default value ($global:zabSessionParams.session)

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-id <String>



Required? false

Position? 5

Default value ($global:zabSessionParams.id)

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-URL <String>



Required? false

Position? 6

Default value ($global:zabSessionParams.url)

Accept pipeline input? true (ByPropertyName)

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:\\>Remove-ZabbixHttpTest -HttpTestID (Get-ZabbixTemplate | ? name -eq "Template Name" | Get-ZabbixHttpTest | ?

name -match httpTests).httptestid



Delete web/http tests









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



PS C:\\>Get-ZabbixTemplate | ? name -eq "Template Name" | Get-ZabbixHttpTest | ? name -match httpTest |

%{Remove-ZabbixHttpTest -HttpTestID $_.HttpTestID}



Delete web/http tests











RELATED LINKS