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

New-PSUEventHub

SINOSSI

Crea un nuovo hub di eventi.

SINTASSI

New-PSUEventHub -Name <String> [-Description <String>] [-Role <String[]>] [-Authenticated]
 [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>] [-UseDefaultCredentials]
 [-Integrated] [-TrustCertificate] [-Cookies] [<CommonParameters>]

DESCRIZIONE

Crea un nuovo hub di eventi.

ESEMPI

Esempio 1

PS C:\> New-PSUEventHub -Name 'Hub' -Description 'A new event hub'

Crea un nuovo hub di eventi denominato 'Hub' con la descrizione 'A new event hub'.

PARAMETRI

-AppToken

L'AppToken utilizzato per chiamare la Management API di PowerShell Universal. È inoltre possibile chiamare Connect-PSUServer prima di questo cmdlet per impostare l'AppToken per l'intera sessione.

-Authenticated

Indica se questo hub di eventi richiede l'autenticazione.

-ComputerName

Specifica il nome del computer o l'URL da chiamare quando si accede alla Management API di PowerShell Universal. È inoltre possibile utilizzare Connect-PSUServer prima di questo cmdlet per impostare il nome del computer per l'intera sessione.

-Description

Una descrizione per questo hub di eventi.

-Integrated

Esegue il comando internamente anziché utilizzare la Management API. Funziona solo quando lo script viene eseguito all'interno di PowerShell Universal.

-Name

Il nome dell'hub di eventi.

-Role

I ruoli che possono accedere a questo hub di eventi.

-UseDefaultCredentials

Indica se utilizzare le credenziali predefinite quando si accede alla Management API di PowerShell Universal.

-Credential

Credenziali per accedere alla Management API di 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

COLLEGAMENTI CORRELATI

Ultimo aggiornamento

È stato utile?