For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-PSUEventHubConnection

Returns event hub connections.

SYNOPSIS

Returns event hub connections.

SYNTAX

Get-PSUEventHubConnection [-Hub <String>] [-ServerComputerName <String>] [-RemoteComputerName <String>]
 [-RemoteUserName <String>] [-RemoteDomainName <String>] [-Active] [-ComputerName <String>]
 [-AppToken <String>] [-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate]
 [-Cookies] [<CommonParameters>]

DESCRIPTION

Retrieves event hub connections from PowerShell Universal. Results can be filtered by hub name, local or remote computer information, user or domain, and active status.

EXAMPLES

Example 1

PS C:\> Get-PSUEventHubConnection -Hub notifications -Active

Returns active connections for the notifications event hub.

PARAMETERS

-AppToken

Specifies the app token to use when authenticating to the PowerShell Universal management API.

-ComputerName

Specifies the URL or host name of the target PowerShell Universal instance. Bare host names are normalized to an http://:5000 URL.

-Integrated

Uses the in-process integrated management client when the cmdlet runs inside PowerShell Universal.

-UseDefaultCredentials

Whether to use the current user's default credentials to access PowerShell Universal. Requires Windows authentication to be enabled.

-Active

Returns active connections.

-Credential

Credentials to login to the PowerShell Universal Management API.

-Hub

Returns connections for the specified hub.

-RemoteComputerName

Returns connections for the remote computer name.

-RemoteDomainName

Returns connections for the remote domain name.

-RemoteUserName

Returns connections for the remote user name.

-ServerComputerName

Returns connections to the PowerShell Universal server.

-TrustCertificate

Whether the cmdlet should ignore certificate issues.

-Cookies

Reuses and persists authentication cookies for the current PowerShell session.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?