Get-WmiObject win32_SystemEnclosure | select serialnumberThis 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. . .
Loading
Showing posts with label Dell. Show all posts
Showing posts with label Dell. Show all posts
Monday, October 19, 2009
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.
Labels:
Dell,
Linux,
PowerShell,
Windows
Wednesday, April 29, 2009
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)\Dell\SysMgt\rac5 (for DRAC 5 on 64-bit Windows OS) or C:\Program Files\Dell\SysMgt\rac5 (for DRAC 5 on 32-bit OS). Navigate to the appropriate directory to run the following commands.
Notes:
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)\Dell\SysMgt\rac5 (for DRAC 5 on 64-bit Windows OS) or C:\Program Files\Dell\SysMgt\rac5 (for DRAC 5 on 32-bit OS). Navigate to the appropriate directory to run the following commands.
Notes:
- 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.
- DRAC 4: racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 <NewPassword>
- DRAC 5: racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 <NewPassword>
- 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.
Subscribe to:
Posts (Atom)