CommandResponse

data class CommandResponse(val action: String, val alwaysRun: Boolean? = null, val applyUpdateBefore: Boolean? = null, val content: String, val contentType: String, val enrollIntuneBefore: Boolean? = null, val install1PAppBefore: Boolean? = null, val maxRunTime: Int? = null, val name: String, val postUpgrade: Boolean? = null, val preUpgrade: Boolean? = null, val restartAfter: Boolean? = null, val runAsInteractive: Boolean? = null, val runElevated: Boolean? = null)

The command used in the test

Constructors

Link copied to clipboard
constructor(action: String, alwaysRun: Boolean? = null, applyUpdateBefore: Boolean? = null, content: String, contentType: String, enrollIntuneBefore: Boolean? = null, install1PAppBefore: Boolean? = null, maxRunTime: Int? = null, name: String, postUpgrade: Boolean? = null, preUpgrade: Boolean? = null, restartAfter: Boolean? = null, runAsInteractive: Boolean? = null, runElevated: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The action of the command.

Link copied to clipboard
val alwaysRun: Boolean? = null

Specifies whether to run the command even if a previous command is failed.

Link copied to clipboard

Specifies whether to apply update before the command.

Link copied to clipboard

The content of the command. The content depends on source type.

Link copied to clipboard

The type of command content.

Link copied to clipboard

Specifies whether to enroll Intune before the command.

Link copied to clipboard

Specifies whether to install first party applications before running the command.

Link copied to clipboard
val maxRunTime: Int? = null

Specifies the max run time of the command.

Link copied to clipboard

The name of the command.

Link copied to clipboard
val postUpgrade: Boolean? = null

Specifies whether the command is assigned to be executed after in-place upgrade.

Link copied to clipboard
val preUpgrade: Boolean? = null

Specifies whether the command is assigned to be executed before in-place upgrade.

Link copied to clipboard
val restartAfter: Boolean? = null

Specifies whether to restart the VM after the command executed.

Link copied to clipboard

Specifies whether to run the command in interactive mode.

Link copied to clipboard
val runElevated: Boolean? = null

Specifies whether to run the command as administrator.