Launch Spotlight on SQL Server Enterprise

Dell.SoSSE.LaunchSpotlight (ConsoleTask)

Launches the Dell Spotlight on SQL Server Enterprise client if it is installed on the SCOM host.

Element properties:

TargetDell.SoSSE.DiagnosticServers
Application\%windir\%\system32\windowspowershell\v1.0\powershell.exe
WorkingDirectory
isRequireOutputTrue
AccessibilityPublic
EnabledTrue
CommentLaunches the Spotlight on SQL Server Enterprise client if installed on the SCOM host.

Source Code:

<ConsoleTask ID="Dell.SoSSE.LaunchSpotlight" Accessibility="Public" Enabled="true" Target="Dell.SoSSE.DiagnosticServers" RequireOutput="true" Comment="Launches the Spotlight on SQL Server Enterprise client if installed on the SCOM host.">
<Assembly>Res.Dell.SoSSE.LaunchSpotlight</Assembly>
<Handler>ShellHandler</Handler>
<Parameters>
<Argument Name="WorkingDirectory"/>
<Argument Name="Application">%windir%\system32\windowspowershell\v1.0\powershell.exe</Argument>
<!--Argument>-WindowStyle Hidden -NonInteractive -Command "Start-Process ('"{0}"' -f (Get-ItemProperty HKLM:\SOFTWARE\Wow6432Node\'Quest Software'\Spotlight).Path)"</Argument-->
<Argument>
if (test-path \"%sosse_mp_path%\scripts\LaunchSpotlight.ps1\")
{
&amp; \"%sosse_mp_path%\scripts\LaunchSpotlight.ps1\"
}
else
{
write-host 'LaunchSpotlight.ps1 cannot be accessed.'
write-host "`n`n"
write-host 'Please check that the environment variable \"sosse_mp_path\" is set and contains \"scripts\LaunchSpotlight.ps1\".'
}"
</Argument>
</Parameters>
</ConsoleTask>