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

Get-PSUEndpoint

SINOSSI

Restituisce tutti gli endpoint definiti in PowerShell Universal.

SINTASSI

All (predefinito)

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

Id

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

Url

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

DESCRIZIONE

Restituisce tutti gli endpoint definiti in PowerShell Universal.

ESEMPI

Esempio 1

Restituisce tutti gli endpoint.

Esempio 2

Restituisce l'endpoint con Id 1. Gli Id vengono reimpostati al riavvio del server.

Esempio 3

Restituisce gli endpoint che hanno l'URL '/url'.

PARAMETRI

-AppToken

L'AppToken utilizzato per chiamare l'API di gestione di PowerShell Universal. È anche possibile chiamare Connect-PSUServer prima di eseguire questo cmdlet per impostare l'AppToken per l'intera sessione.

-ComputerName

Specifica il nome del computer o l'URL da chiamare per accedere all'API di gestione di PowerShell Universal. È anche possibile utilizzare Connect-PSUServer prima di eseguire questo cmdlet per impostare il nome del computer per l'intera sessione.

-Id

L'ID dell'endpoint da restituire.

-Url

L'URL degli endpoint da restituire. Più endpoint possono avere lo stesso URL e verbi diversi.

-UseDefaultCredentials

Utilizza le credenziali predefinite per la connessione all'API di gestione

-Integrated

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

-Credential

Credenziali per accedere all'API di gestione 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

Ultimo aggiornamento

È stato utile?