Use this UDI task to identify whether the target computer is connected to AC power. This task uses only those parameters common to all UDI tasks. For more information about these parameters, see UDI Task Configuration Settings.
Table 15 lists the error and exit codes that the AC Power Check task generates.
Table 15. Error and Exit Codes for the AC Power Check Task
Exit or error code |
Value |
Status |
Exit |
0 |
Success, which indicates that the target computer is plugged into AC power |
Exit |
* |
Error, which indicates that the target computer is not plugged into AC power |
Related Topics