Here I am sharing the one liner command for listing all distribution point in SCCM. 

Get-CMDistributionPointInfo | select ServerName,Drive,IsPXE,sitecode,sitename,@{l="IPAddress";e={[System.Net.Dns]::GetHostAddresses($_.servername) | foreach {echo $_.IPAddressToString }}} | FT


Get-CMDistributionPointInfo : Will display all the distribution point and its properties. We can filter by selecting required attribute. To do that it is passed to pipeline.


select ServerName,Drive,IsPXE,sitecode,sitename : This line selects only name,PXE state,sitecode and sitename.


@{l="IPAddress";e={[System.Net.Dns]::GetHostAddresses($_.servername) | foreach {echo $_.IPAddressToString }} : This line get the ipaddress of the each   servers and add extra coloumn as "IP Address" as a object.


ServerName                  Drive IsPXE  sitecode sitename      IP Address

----------                  -----  -----  --------   --------         ----------

SCCM1.TEST.COM      D:       True  TSI         TEST



Get-CMDistributionPointInfo | select ServerName,Drive,IsPXE,sitecode,sitename,@{l="IP Address";e={[System.Net.Dns]::GetHostAddresses($_.servername) | foreach {echo $_.IPAddressToString }}}