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

Set-PSUIdentity

SINOSSI

Imposta le proprietà di un'identità.

SINTASSI

Id

Set-PSUIdentity [-Id] <Int64> [-Name <String>] [-Role <Role>] [-Password <SecureString>]
 [-CredentialVault <String>] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

Identity

Set-PSUIdentity [-Identity] <Identity> [-Name <String>] [-Role <Role>] [-Password <SecureString>]
 [-CredentialVault <String>] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIZIONE

Imposta le proprietà di un'identità.

ESEMPI

Esempio 1

Imposta il nome dell'identità 123 su 'Adam'

Esempio 2

Imposta l'identità Adam su Lee.

PARAMETRI

-AppToken

Un token dell'app per accedere all'API PSU.

-ComputerName

L'indirizzo HTTP del server API REST di PSU.

-Id

L'ID dell'identità.

-Identity

Un oggetto Identity restituito da Get-UAIdentity.

-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 da impostare sull'identità.

-Role

Il ruolo da impostare sull'identità. Utilizzi Get-UARole per recuperare i ruoli predefiniti.

-UseDefaultCredentials

Utilizza le credenziali predefinite durante la connessione alla Management API

-CredentialVault

Una cassaforte delle credenziali in cui impostare la password di questa identità.

-Password

Una password per l'account locale.

-Credential

Credenziali per accedere alla PowerShell Universal Management API.

-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.

Parametri comuni

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

UniversalAutomation.Identity

OUTPUT

System.Object

NOTE

Ultimo aggiornamento

È stato utile?