Get-PSUVariable
SINOSSI
Restituisce le variabili definite in PSU.
SINTASSI
All (predefinito)
Get-PSUVariable [-ValueOnly] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
[-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]Id
Get-PSUVariable [-Id] <Int64> [-ValueOnly] [-ComputerName <String>] [-AppToken <String>]
[-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]Name
Get-PSUVariable [-Name] <String> [-ValueOnly] [-ComputerName <String>] [-AppToken <String>]
[-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]DESCRIZIONE
Restituisce le variabili definite in PSU.
ESEMPI
Esempio 1
Restituisce tutte le variabili.
Esempio 2
Restituisce la variabile username.
PARAMETRI
-AppToken
Un token dell'app per accedere all'API di PSU.
-ComputerName
L'indirizzo HTTP del server dell'API REST di PSU.
-Id
L'ID della variabile.
-Integrated
Esegue il comando internamente anziché utilizzare l'API di gestione. Funziona solo quando lo script viene eseguito all'interno di PowerShell Universal.
-Name
Il nome della variabile.
-UseDefaultCredentials
Utilizzare le credenziali predefinite durante la connessione all'API di gestione
-ValueOnly
Restituisce solo il valore della variabile anziché l'oggetto variabile completo.
-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, consulti about_CommonParameters.
INPUT
Nessuno
OUTPUT
System.Object
NOTE
LINK CORRELATI
Ultimo aggiornamento
È stato utile?