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

  1. 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.
  2. Verify your execution policy allows script execution: Run Get-ExecutionPolicy -List. If LocalMachine is set to Restricted or AllSigned, run Set-ExecutionPolicy RemoteSigned -Scope CurrentUser to allow local scripts. You may need to confirm with Y.
  3. Install the Dell Command | PowerShell Provider module from the PowerShell Gallery. Run the command Install-Module -Name DellCommand-PowerShellProvider -Scope CurrentUser -Force. The -Force flag prevents prompts for confirmation and ensures non-interactive use. Wait for the module to download and install (this typically takes 10–30 seconds).
  4. Import the module into your current session by running Import-Module DellCommand-PowerShellProvider. To confirm it loaded successfully, run Get-Command -Module DellCommand-PowerShellProvider and verify the output lists commands like Get-DCSystemInfo, Set-DCSystemConfiguration, and Get-DCFirmwareUpdate.
  5. 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).
  6. Use the provider to inspect BIOS settings. Run Get-DCSystemConfiguration -Category BIOS to retrieve current BIOS properties. For a single setting, such as AdminPasswordStatus, run Get-DCSystemConfiguration -Category BIOS -PropertyName AdminPasswordStatus.
  7. 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 using Get-DCSystemConfiguration -Category BIOS -PropertyName USBPortRestriction to see allowed values like Enabled or Disabled.

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, Disabled works, but disabled or DISABLED will cause the command to fail.
  • Skipping module verification: Installing the module without running Import-Module means PowerShell won’t recognize its commands. The module is not auto-imported after Install-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-DCSystemInfo to return no data.

Tips

  • Use -WhatIf with Set-DCSystemConfiguration to 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/catch blocks 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:

  1. 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).
  2. Reboot the system after installation to ensure WMI classes are registered.
  3. Run Get-WmiObject -Namespace root\DellOMCI -Class DCIM_SysInfo to verify the WMI namespace is available. If this fails, the package installation is incomplete or incompatible.
  4. If PowerShell returns Access is denied when running Set-DCSystemConfiguration, confirm you’re in an elevated session and that no Group Policy restricts WMI access. Check gpedit.msc > Computer Configuration > Windows Settings > Security Settings > System Services > Windows Management Instrumentation.
  5. For Operation is not valid due to the current state errors, ensure BIOS settings aren’t locked by a password or corporate policy. Try retrieving the property first to see if it’s read-only.
  6. If the module fails to install with PackageManagement errors, run Install-PackageProvider -Name NuGet -Force first 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.