Get Dell Warranty Status within ConfigMgr 2012 console
When dealing with Dell systems in ConfigMgr 2012, you may want an easy way to get the warranty status of a particular system. Instead of browsing to Dell’s support website and entering the service tag, wouldn’t it be cool if you could get that same information just by right-clicking on the system in the ConfigMgr 2012 console? I think so and because of that I created the Dell Warranty Console Extension Tool, also known as DWCET!
- Download link
- About DWCET
- Installing DWCET
- Using DWCET in your environment
The DWCET will extend the capabilities of the ConfigMgr 2012 console allowing you to easily get the warranty status of any system. I’ve written this tool in PowerShell and it has been tested on Windows Server 2012 with a ConfigMgr 2012 SP1 console installed. Running the setup file will do the following:
1. Create two new folders called:
in the following location:
%PROGRAMFILES(x86)%\Microsoft Configuration Manager\AdminConsole\XmlStorage\Extensions\Actions
2. Copy the DellWarranty.xml file to both of the newly created folders above.
3. Create the following folder:
4. Finally, it will copy the Get-DellWarrantyGUI.ps1 and uninst.exe to the DWCET program folder.
There are two ways that the tool can operate. The default mode is to query WMI for the service tag. In an enterprise environment, I think it’s a good practice to automate the naming of your Dell systems. And an easy way of doing so is to use the service tag followed by a prefix, e.g. 123456J-XXX. The second way the tool can operate is by enumerating the service tag from the computer name, where the first 7 characters are treated as the service tag.
If you’d like to change the way the tool operates, edit the DellWarranty.xml created by the installer and change the following row:
<Parameters>-windowstyle hidden -executionpolicy bypass -file "C:\Program Files (x86)\DWCET\Get-DellWarrantyGUI.ps1" -Name "##SUB:Name##" -Method "WMI"</Parameters>
to the following:
<Parameters>-windowstyle hidden -executionpolicy bypass -file "C:\Program Files (x86)\DWCET\Get-DellWarrantyGUI.ps1" -Name "##SUB:Name##"</Parameters>
Basically you’re removing a switch and it’s value from the PowerShell script.
Download the ZIP file from the link above, extrax the DWCET_setup.exe from the archive and run it. It will require administrative permissions to perform the installation.
When the installation is completed, you’ll have to relaunch all open ConfigMgr 2012 consoles for this tool to work.
Using DWCET in your environment
In order to get the warranty status for a system, go to Assets and Compliance -> Overview -> Devices and select a device. You’ll now have two options to launch the tool, either from the context menu or from the ribbon menu. See the pictures below:
1. Once you’ve launched the tool, a window will appear.
2. Click on Get Warranty and wait for a couple of seconds. The warranty status for the selected device will now be shown, see the picture below:
3. Click on Close.
If DWCET was not able to connect through WMI to the selected device, an error will be shown.
I hope this tool will be of value to anyone out there and as always, please let me know if you have any problems or suggestions for improvements.
Principal Consultant and Enterprise Mobility MVP since 2016. Nickolaj has been in the IT industry for the past 10 years specializing in Enterprise Mobility and Security, Windows devices and deployments including automation. Currently working for TrueSec as a Principal Consultant. Awarded as PowerShell Hero in 2015 by the community for his script and tools contributions. Creator of ConfigMgr Prerequisites Tool, ConfigMgr OSD FrontEnd, ConfigMgr WebService to name a few. Frequent speaker at conferences and user groups.