Set-PSUComputer
SYNOPSIS
Aggiorna un computer.
SYNTAX
Id
Set-PSUComputer [-Id] <Int64> [-Maintenance <Boolean>] [-ComputerName <String>] [-AppToken <String>]
[-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]Computer
Set-PSUComputer [-Computer] <Computer> [-Maintenance <Boolean>] [-ComputerName <String>] [-AppToken <String>]
[-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]DESCRIPTION
Aggiorna un computer.
EXAMPLES
Esempio 1
Abilita la modalità di manutenzione per un computer.
PARAMETERS
-AppToken
Il token dell'app utilizzato per connettersi al server PowerShell Universal.
-Computer
Il nome del computer o l'URL del server PowerShell Universal.
-ComputerName
Il nome del computer da aggiornare.
-Id
L'ID del computer da aggiornare.
-Integrated
Indica se utilizzare l'ambiente integrato.
-Maintenance
Indica se abilitare o disabilitare la modalità di manutenzione per questo computer.
-UseDefaultCredentials
Indica se utilizzare l'autenticazione di Windows per questa chiamata.
-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.
INPUTS
PowerShellUniversal.Computer
OUTPUTS
System.Object
NOTES
RELATED LINKS
Ultimo aggiornamento
È stato utile?