The Dell Command | PowerShell Provider is a Microsoft PowerShell module that lets you manage Dell hardware—like BIOS settings, drivers, firmware, and system configuration—directly from PowerShell scripts or commands. It's designed for IT administrators who need to automate Dell device management across multiple machines. You need PowerShell 5.1 or later and an administrator-level PowerShell session to install and run it. No additional Dell software is required, but you must have internet access to download the module from the PowerShell Gallery.
What You'll Need
- A Windows device running Windows 7 SP1, Windows 8.1, Windows 10, or Windows 11 (64-bit only)
- PowerShell 5.1 or newer (check with
Get-Host | Select-Object -ExpandProperty Version) - Administrator privileges on the local machine
- Internet access (required to download the module from PowerShell Gallery)
- A Dell device (optimal support for Latitude, OptiPlex, Precision, and XPS systems from 2017 onward)
Step-by-Step
- Open PowerShell as an administrator: Press Windows + X, then select Windows PowerShell (Admin) or Terminal (Admin) if using Windows Terminal. Confirm the User Account Control prompt.
- Verify your execution policy allows script execution: Run
Get-ExecutionPolicy -List. IfLocalMachineis set toRestrictedorAllSigned, runSet-ExecutionPolicy RemoteSigned -Scope CurrentUserto allow local scripts. You may need to confirm withY. - Install the Dell Command | PowerShell Provider module from the PowerShell Gallery. Run the command
Install-Module -Name DellCommand-PowerShellProvider -Scope CurrentUser -Force. The-Forceflag prevents prompts for confirmation and ensures non-interactive use. Wait for the module to download and install (this typically takes 10–30 seconds). - Import the module into your current session by running
Import-Module DellCommand-PowerShellProvider. To confirm it loaded successfully, runGet-Command -Module DellCommand-PowerShellProviderand verify the output lists commands likeGet-DCSystemInfo,Set-DCSystemConfiguration, andGet-DCFirmwareUpdate. - Test basic connectivity to your Dell hardware. Run
Get-DCSystemInfo. If successful, the output shows your system model, service tag, BIOS version, and other firmware details. If you encounter an error about missing WMI classes (e.g.,DCIM_SysInfo), ensure the Dell WMI provider is installed (see Troubleshooting). - Use the provider to inspect BIOS settings. Run
Get-DCSystemConfiguration -Category BIOSto retrieve current BIOS properties. For a single setting, such asAdminPasswordStatus, runGet-DCSystemConfiguration -Category BIOS -PropertyName AdminPasswordStatus. - Apply a BIOS configuration change safely. For example, to disable USB port restrictions, run
Set-DCSystemConfiguration -Category BIOS -PropertyName USBPortRestriction -PropertyValue Disabled. Always verify the property name and valid values first usingGet-DCSystemConfiguration -Category BIOS -PropertyName USBPortRestrictionto see allowed values likeEnabledorDisabled.
Common Mistakes
- Running PowerShell without administrator privileges: The provider relies on WMI classes that require elevated access. Non-admin sessions will fail with permission errors on commands like
Set-DCSystemConfiguration. - Assuming all BIOS properties are modifiable: Some settings (e.g.,
SystemPasswordStatus) are read-only or require pre-configured passwords. Attempting to write to read-only properties returns a WMI error. - Using incorrect property values: BIOS property values are case-sensitive and must match exactly. For example,
Disabledworks, butdisabledorDISABLEDwill cause the command to fail. - Skipping module verification: Installing the module without running
Import-Modulemeans PowerShell won’t recognize its commands. The module is not auto-imported afterInstall-Module. - Assuming universal hardware support: Older Dell systems (pre-2017) or non-commercial models (like some Inspiron variants) may lack the required WMI provider classes, causing
Get-DCSystemInfoto return no data.
Tips
- Use
-WhatIfwithSet-DCSystemConfigurationto preview changes without applying them:Set-DCSystemConfiguration -PropertyName USBPortRestriction -PropertyValue Disabled -WhatIf. - Export BIOS settings for documentation by piping output to CSV:
Get-DCSystemConfiguration -Category BIOS | Export-Csv -Path "C:\BIOS_Config.csv" -NoTypeInformation. - Check Dell’s official documentation for your specific model’s supported BIOS properties, as available options vary by device.
- For scripting across multiple machines, wrap commands in
try/catchblocks to handle errors gracefully, especially for systems with missing WMI providers. - Remember that BIOS password-related commands require the current password to be set. To set or change a password, use
Set-DCSystemConfiguration -PropertyName AdminPassword -PropertyValue "NewPassword" -OldPassword "OldPassword".
Troubleshooting
If Get-DCSystemInfo returns no data or errors like Invalid class, the Dell WMI provider may not be installed. Most modern Dell systems include it by default, but if missing:
- Download and install the latest Dell Command | Monitor package from the Dell Support website for your specific model (e.g., search for “Dell Command | Monitor [Service Tag]” on support.dell.com).
- Reboot the system after installation to ensure WMI classes are registered.
- Run
Get-WmiObject -Namespace root\DellOMCI -Class DCIM_SysInfoto verify the WMI namespace is available. If this fails, the package installation is incomplete or incompatible. - If PowerShell returns
Access is deniedwhen runningSet-DCSystemConfiguration, confirm you’re in an elevated session and that no Group Policy restricts WMI access. Checkgpedit.msc > Computer Configuration > Windows Settings > Security Settings > System Services > Windows Management Instrumentation. - For
Operation is not valid due to the current stateerrors, ensure BIOS settings aren’t locked by a password or corporate policy. Try retrieving the property first to see if it’s read-only. - If the module fails to install with
PackageManagementerrors, runInstall-PackageProvider -Name NuGet -Forcefirst to install the required package provider.
Frequently Asked Questions
Does Dell Command | PowerShell Provider work on macOS or Linux?
No. It is strictly a Windows-only tool because it depends on Dell’s WMI provider, which is only available on Windows-based Dell systems. There is no official cross-platform version.
Can I use this to update BIOS firmware?
Yes, but indirectly. The provider includes Get-DCFirmwareUpdate to list available updates, but actual firmware installation typically requires downloading the .exe or .bin file from Dell’s website and running it separately. The module helps identify what needs updating but does not perform the update itself.
Is the module safe to use on production systems?
Yes, when used carefully. BIOS changes can affect system stability or boot behavior. Always test commands in a non-production environment first, and use -WhatIf or export configurations before applying changes. Dell does not recommend modifying BIOS settings without a clear need.
Do I need Dell Command | Suite installed?
No. The PowerShell Provider is a standalone PowerShell module. However, installing Dell Command | Monitor (a separate, free tool) ensures the underlying WMI provider is present and up to date, which the PowerShell module relies on.
Why does Get-DCSystemConfiguration show no properties for a category?
This usually means the BIOS or firmware on your Dell system does not support that category or property. For example, older models lack newer settings like ThunderboltSecurityLevel. Check your system’s BIOS settings UI to confirm which options are available, then match them to PowerShell property names.
How do I uninstall the module?
Run Uninstall-Module -Name DellCommand-PowerShellProvider -AllVersions from an elevated PowerShell session. This removes the module from your user profile. If installed system-wide (using -Scope AllUsers), run the command as an administrator.