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

Get-PSUEventHubConnection

SYNOPSIS

Restituisce le connessioni event hub.

SINTASSI

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

DESCRIZIONE

Recupera le connessioni event hub da PowerShell Universal. I risultati possono essere filtrati per nome hub, informazioni sul computer locale o remoto, utente o dominio e stato attivo.

ESEMPI

Esempio 1

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

Restituisce le connessioni attive per l'event hub notifications.

PARAMETRI

-AppToken

Specifica il token dell'app da utilizzare durante l'autenticazione all'API di gestione di PowerShell Universal.

-ComputerName

Specifica l'URL o il nome host dell'istanza PowerShell Universal di destinazione. I nomi host semplici vengono normalizzati in un URL http://<host>:5000.

-Integrated

Utilizza il client di gestione integrato in-process quando il cmdlet viene eseguito all'interno di PowerShell Universal.

-UseDefaultCredentials

Indica se utilizzare le credenziali predefinite dell'utente corrente per accedere a PowerShell Universal. Richiede che l'autenticazione Windows sia abilitata.

-Active

Restituisce le connessioni attive.

-Credential

Credenziali per accedere all'API di gestione di PowerShell Universal.

-Hub

Restituisce le connessioni per l'hub specificato.

-RemoteComputerName

Restituisce le connessioni per il nome del computer remoto.

-RemoteDomainName

Restituisce le connessioni per il nome del dominio remoto.

-RemoteUserName

Restituisce le connessioni per il nome utente remoto.

-ServerComputerName

Restituisce le connessioni al server PowerShell Universal.

-TrustCertificate

Indica se il cmdlet deve ignorare i problemi relativi ai certificati.

-Cookies

Riutilizza e mantiene i cookie di autenticazione per la sessione PowerShell corrente.

CommonParameters

Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable e -ProgressAction. Per maggiori informazioni, veda about_CommonParameters.

INPUT

Nessuno

OUTPUT

System.Object

NOTE

Ultimo aggiornamento

È stato utile?