# encoding: ascii
# api: powershell
# title: List Object Discoveries
# description: Enumerate OpsMgr 2007 Object Discoveries targeted to Windows Server
# version: 0.1
# type: class
# author: Stefan Stranger 
# license: CC0
# x-poshcode-id: 637
# x-archived: 2014-12-29T11:20:55
# x-published: 2008-10-13T13:55:00
#
# Date: 13/10/2008
# Author: Stefan Stranger (help from Jeremy Pavleck and Marco Shaw)
#
# Enumerate OpsMgr 2007 Object Discoveries targeted to Windows Server
# Date: 13/10/2008
# Author: Stefan Stranger (help from Jeremy Pavleck and Marco Shaw)
get-discovery |? {$_.Target -match (get-monitoringclass | where {$_.Name -eq "Microsoft.Windows.Server.Computer"}).Id} | select Name, DisplayName
