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

Set-PSULicense

SYNOPSIS

Establece la licencia que se debe utilizar.

SYNTAX

Set-PSULicense -Key <String> [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPTION

Establece la licencia que se debe utilizar.

EXAMPLES

Ejemplo 1

PS C:\> Set-UALicense -Key 'universalautomation-23479fasfd32oihafk'

Establece la licencia para el servidor actual.

PARAMETERS

-AppToken

Un token de aplicación para acceder a la API de PSU.

-ComputerName

La dirección HTTP del servidor de la API REST de PSU.

-Integrated

Ejecuta el comando internamente en lugar de utilizar la API de gestión. Solo funciona al ejecutar el script desde PowerShell Universal.

-Key

La clave que se debe establecer.

-UseDefaultCredentials

Utilizar las credenciales predeterminadas al conectarse a la API de gestión

-Credential

Credenciales para iniciar sesión en la API de gestión de PowerShell Universal.

-TrustCertificate

Indica si el cmdlet debe ignorar los problemas de certificado.

-Cookies

Reutiliza y conserva las cookies de autenticación para la sesión actual de PowerShell.

CommonParameters

Este cmdlet admite los parámetros comunes: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable y -ProgressAction. Para obtener más información, consulte about_CommonParameters.

INPUTS

Ninguno

OUTPUTS

System.Object

NOTES

Última actualización

¿Te fue útil?