PowerShell WMI query to get IP address

Here is a simple function in PowerShell to ping a system via WMI query and return the IP address.

 

Leave a Reply

%d bloggers like this: