Get-ZeroPortalHealth

Returns the health status of a ZeroPortal node.

Syntax

Get-ZeroPortalHealth [-TargetUrl <string>]

Description

Calls GET /api/health/status on the target node. No authentication required. Use -TargetUrl to check a remote node (e.g. a Proxy) without changing the configured BaseUrl.

Parameters

-TargetUrl <string>

Base URL of the node to check. Defaults to the configured BaseUrl.

Examples

Get-ZeroPortalHealth
Get-ZeroPortalHealth -TargetUrl "https://proxy1.corp.local:8443"