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

Stop-PSUJob

SINOSSI

Arresta un job PSU.

SINTASSI

Job

Stop-PSUJob [-Job] <Job> [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

Id

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

DESCRIZIONE

Arresta un job PSU.

ESEMPI

Esempio 1

Arresta il job 12.

PARAMETRI

-AppToken

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

-ComputerName

L'indirizzo HTTP del server dell'API REST di PSU.

-Integrated

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

-Job

Il Job da arrestare. Utilizzi Get-UAJob per recuperare un oggetto Job.

-UseDefaultCredentials

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

-Credential

Credenziali per accedere all'API di gestione di PowerShell Universal.

-TrustCertificate

Indica se il cmdlet deve ignorare i problemi relativi ai certificati.

-Id

L'ID del job da arrestare.

-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

UniversalAutomation.Job

OUTPUT

System.Object

NOTE

Ultimo aggiornamento

È stato utile?