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

Get-PSUEventHub

Return event hubs.

SYNOPSIS

Return event hubs.

SYNTAX

All (Default)

Get-PSUEventHub [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

EventHub

Get-PSUEventHub [[-Name] <String>] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

Id

Get-PSUEventHub [[-Id] <Int64>] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPTION

Return event hubs.

EXAMPLES

Example 1

Returns the event hub EventHub.

PARAMETERS

-AppToken

An application token to use for authentication.

-ComputerName

The URL of the server to connect to.

-Credential

The credentials to use for authentication.

-Id

The ID of the event hub to return.

-Integrated

For use when running within PowerShell Universal.

-Name

The name of the event hub to return.

-TrustCertificate

Trust the certificate of the server. This is useful for self-signed certificates.

-UseDefaultCredentials

Use the default credentials for the current user.

-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

System.String

System.Int64

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?