It is exactly the same information.
I recommend that you start by learning PowerShell. Next spend some time studying WMI. Until you have mastered the basics of these two technologies you will have a hard time with this.
This is your exact query in PowerShell:
Get-WmiObject Win32_NetworkConnection -ComputerName sbs01 | select Name, Username
\_(ツ)_/