Powershell to export Windows 2008 R2 SMTP Relay Restrictions IPs

We have just a simple Windows 2008 R2 SMTP server that we use for internal relay and have a grant list of IP addresses we need to export. Thanks.

Windows 2008 VPS via Powershell to export Windows 2008 R2 SMTP Relay Restrictions IPs.