Powershell Command to get computer status in a target group
hi , trying build powershell script find out computer status in target group in how many ok, error, or needing updates etc.
so far able select target group , total computer count in not able count of computer need updates , other status.
any appreciated.
hi lawrence,
i creating powershell script pass on info inhouse nagios server display wsus status on monitoring tool.
gotcha!
this can done public_views , sql.
as powershell, note relationships may help.
approvals assigned group.
- a group contains members (read: computers)
- a computer has status count updates (notapplicable, needed, installed)
- an update has status count computers (notapplicable, needed, installed)
so, status report target group requires navigating through couple of pathways.
- you can query target group approved updates, , query each of updates status counts of computers. give number of computers need each update.
- you can query target group members, , query each of members status counts of updates. give number of updates needed each computer.
lawrence garvin, m.s., mcsa, mcitp:ea, mcdba
solarwinds head geek
microsoft mvp - software packaging, deployment & servicing (2005-2014)
mvp profile: http://mvp.microsoft.com/en-us/mvp/lawrence%20r%20garvin-32101
http://www.solarwinds.com/gotmicrosoft
the views expressed on post mine , not reflect views of solarwinds.
Windows Server > WSUS
Comments
Post a Comment