How to use PowerShell to troubleshoot Windows desktops

How to use PowerShell to troubleshoot Windows desktops