Dude monitoring ISP IP addresses

Hello,
I have created a map in the dude where we monitor the network devices from the ISP by ping.
Now i want to add the provider name to the shapes, we have 2 providers and i can read the providername with powershell:


$IPAdres	= 'xxx.xxx.xxx.xxx'
$DNS		= [System.Net.Dns]::GetHostByAddress("$IPAdres").HostName

If($DNS -match "ziggo")

{
   'Ziggo'
}
ElseIf ($DNS -match "kpn") 

{
	'KPN'
}
Else
{
Write-Host 'provider unknown'
}

Is there a way to add a script likt this with a function / probe and add it in the Appearance of the shape ?

A shape will not run a script, but your ISP object could just be a device, then you can use a function on the label, that function could run your script.