Reference Guide

Error reporting in Dell Command |
PowerShell Provider 2.2
Dell Command | PowerShell Provider provides an Error Reporting feature. Dell Command | PowerShell Provider uses the
PowerShell ErrorVariable parameter to capture the ErrorRecord. This ErrorVariable can be used to get more information such as
exception, error id, error category, and recommended action and so on about an error.
NOTE: If the system does not have a WMI-ACPI compliant BIOS. Update the BIOS with a compatible version, if available.
Example: To set the error variable.
gi .\POSTBehavior\numl -ErrorVariable ev
Example: To see more information about the error.
$ev.ErrorDetails
The table below describes all the possible Error IDs generated by Dell Command | PowerShell Provider that are categorized by
error categories.
Table 30. Error reporting in Dell Command | PowerShell Provider
Error
Category
Error ID Scenarios Example
InvalidArgumen
t
InvalidPath
Path is not complete while doing
set operation.
PasswordProvidedIncorrecly
Trying to provide both plain text
password and secure password.
NullDrive
Newly created drive is null.
Or
Trying to remove drive which is
already null.
NoRoot Drive root is empty or null.
InvalidData InvalidPossibleValue
Using set-item cmdlet for an
attribute with Invalid possible value.
si .\POSTBehavior\Numlock on
NumberNotInRange
Doing set operation by giving out of
range integer value for an attribute
which accepts integer value in a
particular range.
si .\PowerManagement\AutoOnHr
54
si .\PowerManagement\AutoOnMn
67
si .\PeakShiftBatteryThreshold 13
ReadOnlyValue
Trying to set read-only value for
chassis intrusion status.
si .\Security\ChassisIntrusionStatus
"DoorClosed"
SetNotAllowed
Set operation is not enabled using
Dell Command | PowerShell
Provider but enabled using BIOS
Setup Menu.
si .\Security\MasterPasswordLockout
"Disabled"
3
Error reporting in Dell Command | PowerShell Provider 2.2 63