Set-SmaRunbookConfiguration
Modifica la configuración de un runbook.
Syntax
Set-SmaRunbookConfiguration
[-LogDebug <Boolean>]
[-LogVerbose <Boolean>]
[-LogProgress <Boolean>]
[-Description <String>]
[-RunbookWorker <String>]
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Set-SmaRunbookConfiguration
-Id <String>
[-LogDebug <Boolean>]
[-LogVerbose <Boolean>]
[-LogProgress <Boolean>]
[-Description <String>]
[-RunbookWorker <String>]
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Set-SmaRunbookConfiguration
-Name <String>
[-LogDebug <Boolean>]
[-LogVerbose <Boolean>]
[-LogProgress <Boolean>]
[-Description <String>]
[-RunbookWorker <String>]
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Description
El cmdlet Set-SmaRunbookConfiguration modifica la configuración de un runbook.
Ejemplos
Ejemplo 1: Actualización de una configuración de runbook
PS C:\>Set-SmaRunbookConfiguration -Name "Runbook01" -WebServiceEndpoint "https://localhost" -Description "First runbook" -LogDebug $True -LogProgress $True -LogVerbose $True
Este comando agrega una descripción al runbook denominado Runbook01 y habilita todas las opciones de registro.
Parámetros
-AuthenticationType
Especifica el tipo de autenticación. Los valores válidos son:
- Básico
- Windows
El valor predeterminado de este parámetro es Windows. Si usa la autenticación básica, debe proporcionar credenciales mediante el parámetro Credential .
Type: | String |
Accepted values: | Basic, Windows |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
Especifica un objeto PSCredential para la conexión al servicio web service Management Automation (SMA).
Para obtener un objeto de credencial, use el cmdlet Get-Credential.
Para obtener más información, escriba Get-Help Get-Credential
.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Description
Proporciona una descripción para un runbook.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
Especifica el identificador de un runbook.
Type: | String |
Aliases: | RunbookId |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-LogDebug
Indica si este cmdlet registra la salida de depuración.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LogProgress
Indica si este cmdlet registra la salida del progreso.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LogVerbose
Indica si este cmdlet registra la salida detallada.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Especifica el nombre de un runbook.
Type: | String |
Aliases: | RunbookName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Port
Especifica el número de puerto del servicio web SMA.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunbookWorker
Especifica un runbook worker designado para el runbook. Puede especificar un runbook worker existente en la implementación de SMA actual. Use el cmdlet Get-SmaRunbookWorkerDeployment para obtener una lista de trabajos de runbook en la implementación de SMA actual.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WebServiceEndpoint
Especifica el punto de conexión, como una dirección URL, del servicio web SMA. Debe incluir el protocolo, por ejemplo, http:// o https://.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |