Dell Linux PowerShell Windows

Getting Dell Service Tag using PowerShell

Powershell’s get-wmiobject commandlet makes getting the Dell service tag or serial number for (some) other computer models easy.

Get-WmiObject win32_SystemEnclosure | select serialnumber

This worked for me successfully with Dell and SuperMicro, however it didn’t work on and HP computer I have. Haven’t tried it on IBM or others yet. . .

Dell DRAC racadm

Dell DRAC Default Password and How To Change DRAC Password Using RACADM

The default username and password for Dell Remote Access Controllers (DRAC) are “root” and “calvin, ” respectively. As with everything else, for security reasons it is recommended to change either or both.

There are always those cases where you either forget the password or don’t know it to begin with.  Like in the case of purchasing used equipment on eBay or elsewhere.

Resetting the DRAC password can be done using the command line tool, racadm.  RACADM can be downloaded from Dell by searching for “racdm download.” Once installed racdm.exe will be located, by default, in C:Program Files (x86)DellSysMgtrac5 (for DRAC 5 on 64-bit Windows OS) or C:Program FilesDellSysMgtrac5 (for DRAC 5 on 32-bit OS).  Navigate to the appropriate directory to run the following commands.


  • On Windows 2008, Windows 7 or Windows Vista (or higher) you will have to open a command prompt as administrator for sufficient permissions to run the command.  If not you will get the message, “ERROR: Insufficient privilege level – You do not have the required privileges to run this application locally
  • In DRAC 4 the first index slot is “root” by default.
  • In DRAC 5 index 1 is “Administrator” and index 2 is “root”. This is essential to know to correctly reset the password.

Examples using racadm to reset DRAC password from the Windows command line:

  • DRAC 4: racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 <NewPassword>
  • DRAC 5: racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 <NewPassword>

You can also display the info using the racadm command:

  • DRAC 4: racadm getconfig -g cfgUserAdmin -i 1
  • DRAC 5: racadm getconfig -g cfgUserAdmin -i 2
 See, “Using the RACADM Command Line Interface” for more information.