Minecraft server ping-status by powershell

Solution 1:

I found a workaround at the moment by using this googling: https://api.mcsrvstat.us/1/mc.hypixel.net and then ConvertFrom-JSON -InputObject ($(Invoke-webrequest -URI "https://api.mcsrvstat.us/1/mc.hypixel.net").Content), but I would like still to use something more easy.