I have a bunch of servers in production that I need to collect information from a automation tool and need a powershell script that will collect the following . I have the automation framework (opsware) ready and working fine . I need help with the following
1) Hardware information
2) OS patch level
3) SQL server version and patch level
4) Installed softwares and its versions .
Is there a command line method to run this ? Even that might be sufficient .
Jack