how to remotely execute the powershell command to get the WWN number of multi-window hosts and need the powershell script

how to remotely execute the powershell command to get the WWN number of multi-window hosts and need the powershell script

Get-InitiatorPort | Selected object - Property port address | Table format -AutoSize

PortAddress
-----------
1000d06726e0b379
1000d06726e0b37a