Getting system information from WMI is a pretty straight-forward thing with Get-WMIObject . You can even specify one or more computer names or IP addresses to retrieve the information remotely. That's all great, but how would you design a function...