One extremely common task is to retrieve data remotely with PowerShell. Whether you are just checking some configuration settings or you want to see the current system state, you most likely use WinRM.
This recipe shows you how to retrieve and work with data from remote systems.