if exists
(
rules of firewall
)
whose
(
name of it as string starts with "Remote Desktop" or name of it contains "RDP"
)
then
(
remote addresses strings of
(
rules of firewall
)
whose
(
name of it as string starts with "Remote Desktop" or name of it contains "RDP"
)
)
else "No rule named RDP or Remote Desktop"
if exists (rules of firewall) whose (name of it as string starts with "Remote Desktop" or name of it contains "RDP") then (remote addresses strings of (rules of firewall) whose (name of it as string starts with "Remote Desktop" or name of it contains "RDP")) else "No rule named RDP or Remote Desktop"