Reputation: 307
I have a PowerShell script to collect various types of information on the host system. One of the commands is systeminfo
. It needs nearly 10 seconds to complete.
Edit:
I think the problem comes from the amount of installed hotfixes on the computer, which are displayed with systeminfo
. Is there any way to run systeminfo
without loading all the hotfix information?
Upvotes: 1
Views: 2526
Reputation: 11304
Maybe Get-WmiObject
can help you to get the information you need. Check the following link describing different system information you can retrieve via Get-WmiObject
.
Upvotes: 1
Reputation: 13227
No you cannot not have hotfix information. See https://technet.microsoft.com/en-gb/library/bb491007.aspx for the available parameters.
Upvotes: 1