Additional Dell Right-Click Tools

 

Previously, I posted how to Integrate Dell iDRAC into Configmgr 2012. Here are additional Dell right-click tools that can be leveraged with ConfigMgr 2012:

  • Show System and Warranty Information – Launches a Dell Web page based on the computer service tag and displays system details as well as factory warranty information.
  • Dell and System Center – Launches the Dell and System Center home page.
  • Dell TechCenter – Launches the home page for Dell and ConfigMgr on Dell TechCenter.

DellRClick

Perform the following steps to add the additional Dell Extensions:

  1. Close any existing instances of the ConfigMgr Console.
  2. Download LaunchDelliDracV2.  Extract both .ps1 files and copy to C:\PowerShell\CM12RClickTools\
  3. Extract Dell.XML from the downloaded .zip and copy to “C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\XmlStorage\Extensions\Actions\3fd01cd1-9e01-461e-92cd-94866b8d1f39\Dell.xml,” (you may need to create the Actions and GUID folder or replace the file created previously).
  4. Copy that same Dell.xml to C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\XmlStorage\Extensions\Actions\ed9dee86-eadd-4ac8-82a1-7234a4646e62\ (you may need to create the Actions and GUID folder).
  5. Launch the ConfigMgr console.
  6. Navigate to a device, right-click and view the additional actions from the Dell menu.

PowerShell for DellLaunchSystemInfo.ps1 (Hover and select ‘View Source’ to copy code):

$ComputerName = $args[0]
$SiteServer = $args[1]
$SiteNamespace = $args[2]
"Querying {0} for {1} Service Tag" -f $SiteServer, $ComputerName
$SysInfo  = get-wmiobject -ComputerName $SiteServer -Namespace $SiteNamespace -query "select SMS_G_System_PC_BIOS.SerialNumber from  SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_PC_BIOS on SMS_G_System_PC_BIOS.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Name = '$ComputerName' and SMS_G_System_SYSTEM_ENCLOSURE.Manufacturer like 'Dell%'"
if (($SysInfo -ne $null) -and ($SysInfo.SerialNumber.ToString().length -ge 5)) {
"Service Tag is {0}" -f $SysInfo.SerialNumber
$strURL = "http://www.dell.com/support/troubleshooting/us/en/19/Servicetag/"+ $SysInfo.SerialNumber
start $strURL
Start-Sleep 5
}
else {
write-host  "Dell Service Tag not found. Ensure the following:" -foregroundcolor red
write-host "Healthy Client" -foregroundcolor red
write-host "Running on PowerEdge Server" -foregroundcolor red
write-host "OMSA is installed on server" -foregroundcolor red
write-host "ConfigMgr inventorying Remote Access Service Port" -foregroundcolor redstart-sleep 60
}

PowerShell for DellLaunchiDRAC.ps1 (Hover and select ‘View Source’ to copy code):

$ComputerName = $args[0]
$SiteServer = $args[1]
$SiteNamespace = $args[2]
"Querying {0} for {1} DRAC URl" -f $SiteServer, $ComputerName
$DRACInfo  = get-wmiobject -ComputerName $SiteServer -Namespace $SiteNamespace  -query "select SMS_G_System_DELL_RemoteAccessServicePort.AccessInfoIPV4 from  SMS_R_System inner join  SMS_G_System_DELL_RemoteAccessServicePort on SMS_G_System_DELL_RemoteAccessServicePort.ResourceId =  SMS_R_System.ResourceId where SMS_R_System.Name = '$Computername'"
if (($DRACInfo -ne $null) -and ($DRACInfo.AccessInfoIPv4.ToString().length -ge 5) ) {
"Address is {0}" -f $DRACInfo.AccessInfoIPV4
start $DRACInfo.AccessInfoIPV4
Start-Sleep 5
}
else {
write-host "DRAC IP not found. Ensure the following:" -foregroundcolor red
write-host "Healthy Client" -foregroundcolor red
write-host "Running on PowerEdge Server" -foregroundcolor red
write-host "OMSA is installed on server" -foregroundcolor red
write-host "ConfigMgr inventorying Remote Access Service Port" -foregroundcolor red
start-sleep 60
}

XML for updated Dell.xml file (Hover and select ‘View Source’ to copy code):

<ActionDescription Class="Group" DisplayName="Dell" MnemonicDisplayName="Dell" Description="Dell Actions">
<ShowOn>
	<string>DefaultHomeTab</string><string>ContextMenu</string>
</ShowOn>
<ActionGroups>
	<ActionDescription Class="Executable" DisplayName="Launch iDRAC" MnemonicDisplayName="Launch iDRAC" Description = "Launch iDRAC in Web Browser" RibbonDisplayType="TextAndSmallImage">
		<ShowOn>
			<string>ContextMenu</string>
			<string>DefaultHomeTab</string>
		</ShowOn>
		<Executable>
			<FilePath>PowerShell.exe</FilePath>
			<Parameters>-ExecutionPolicy RemoteSigned -File C:\PowerShell\CM12RClickTools\DellLaunchiDRAC.ps1 "##SUB:Name##" "##SUB:__Server##" "##SUB:__Namespace##"  </Parameters>
		</Executable>
	</ActionDescription>
	<ActionDescription Class="Executable" DisplayName="Show System and Warranty Information" MnemonicDisplayName="Show System and Warranty Information" Description = "Show System and Warranty Information in Web Browser" RibbonDisplayType="TextAndSmallImage">
	<ShowOn>
		<string>ContextMenu</string>
		<string>DefaultHomeTab</string>
	</ShowOn>
	<Executable>
		<FilePath>PowerShell.exe</FilePath>
		<Parameters>-ExecutionPolicy RemoteSigned -File C:\PowerShell\CM12RClickTools\DellLaunchSystemInfo.ps1 "##SUB:Name##" "##SUB:__Server##" "##SUB:__Namespace##"  </Parameters>
	</Executable>
	</ActionDescription>
	<ActionDescription Class="Executable" DisplayName="Dell and System Center" MnemonicDisplayName="Dell and System Center" Description = "Launch Dell-System Center Integration Home Page" RibbonDisplayType="TextAndSmallImage">
	<ShowOn>
		<string>ContextMenu</string>
		<string>DefaultHomeTab</string>
	</ShowOn>
	<Executable>
		<FilePath>http://www.dell.com/systemcenter</FilePath>
		<Parameters></Parameters>
	</Executable></ActionDescription>
	<ActionDescription Class="Executable" DisplayName="Dell TechCenter" MnemonicDisplayName="Dell TechCenter" Description = "Launch Dell TechCenter to ConfigMgr Home Page" RibbonDisplayType="TextAndSmallImage">
	<ShowOn>
		<string>ContextMenu</string>
		<string>DefaultHomeTab</string>
	</ShowOn>
	<Executable>
		<FilePath>http://www.dell.com/ConfigMgr</FilePath>
		<Parameters></Parameters>
	</Executable></ActionDescription>
</ActionGroups>
</ActionDescription>

About Greg Ramsey
Greg Ramsey is a Distinguished Engineer for Dell Digital - Services. He has a B.S. in Computer Sciences and Engineering from The Ohio State University and has co-authored many books over the years. Greg is also a board member of the Northwest System Center User Group and the Midwest Management Summit. ​Greg has been a Microsoft Endpoint Manager (ConfigMgr, Intune) MVP for over 14 years.

One Response to Additional Dell Right-Click Tools

  1. Pingback: Whitepaper – Integrating Dell iDRAC into ConfigMgr 2012 « Greg's Systems Management Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: