다음을 통해 공유


Get-SCSMDiscovery

Service Manager 검색 정보를 가져옵니다.

Syntax

Get-SCSMDiscovery
   [-SCSession <Connection[]>]
   [-ComputerName <String[]>]
   [-Credential <PSCredential>]
   [<CommonParameters>]
Get-SCSMDiscovery
   [-DisplayName] <String[]>
   [-SCSession <Connection[]>]
   [-ComputerName <String[]>]
   [-Credential <PSCredential>]
   [<CommonParameters>]
Get-SCSMDiscovery
   [-Id] <Guid[]>
   [-SCSession <Connection[]>]
   [-ComputerName <String[]>]
   [-Credential <PSCredential>]
   [<CommonParameters>]
Get-SCSMDiscovery
   [-ManagementPack] <ManagementPack[]>
   [-SCSession <Connection[]>]
   [-ComputerName <String[]>]
   [-Credential <PSCredential>]
   [<CommonParameters>]
Get-SCSMDiscovery
   [-Name] <String[]>
   [-SCSession <Connection[]>]
   [-ComputerName <String[]>]
   [-Credential <PSCredential>]
   [<CommonParameters>]
Get-SCSMDiscovery
   [-Target] <ManagementPackClass[]>
   [-SCSession <Connection[]>]
   [-ComputerName <String[]>]
   [-Credential <PSCredential>]
   [<CommonParameters>]

Description

Get-SCSMDiscovery cmdlet은 Service Manager 검색 정보를 검색합니다.

예제

예제 1: Service Manager 검색 가져오기

PS C:\>Get-SCSMDiscovery
Enabled  Name                           Description
-------  ----                           -----------
true     ...DiscoverManagementGroupC... Discovers the relationship for the Management Group to contain the Gateway Management Server Watcher Group
true     ...OpsMgrDBWatcher.Discovery
true     ...PopulateRootManagementSe... Populates this group with the Root Management Server.
true     ...PopulateCollectionManage... Populates this group with all Collection Management Servers.
true     ...DiscoveryHealthServiceCo... Discovers the primary relationships and failover relationships for an agent that is configured for AD integration.
true     ...DiscoverManagementGroupC...
true     ...DiscoverWindowsClientCom... Discovers Windows client computers
true     ...DiscoverWindowsOSProperties Discovers properties on the Operating System class
true     ...PopulateAllComputersGroup   Populates the All Computers Group.
true     ...DiscoverIsVirtualMachine...
true     ...DiscoverManagementGroupC... Discovers the relationship for the Management Group to contain the Root Management Server.
true     ...DiscoverWindowsComputerP... Discovers properties on the Windows computer class
true     ...Agent.PatchDiscovery        This script runs on HealthService instances and finds a list of Operation Manager 2007 Patches that are current...
true     ...DiscoverWindowsProductType  Discovers what type of windows computer the System Center Management service is installed on
true     ...PopulateManagementServer... Populates this group with all Management Servers -- Root, Collection, Gateway.
true     ...DiscoverIsVirtualMachine...
true     ...AgentManagementServer.Di... Discovers the agents that run on as a management server for some management group.
true     InstanceGroup_dbbcf4ea8ff24...
true     WorkItemGroup.21169a7e4a784...
true     ...PopulateSCAgentlessManag... Populates this group with Managed Computer objects that are being monitored remotely.
true     ...SCManagedComputerPropert... Discovers properties on the System Center Managed Computer object.
true     ...PopulateGatewayManagemen... Populates this group with all Gateway Management Servers.
true     ...DiscoverManagementGroupC... Discovers the relationship for the Management Group to contain Collection Management Server Watcher Group
true     ...DiscoverLogicalProcessors
true     ...DiscoverWindowsServerDCC... Discovers Windows Server domain controllers
true     ...DiscoverADManagedComputer   Discovers and creates Agent Relationship Settings objects. This object is used in conjunction with Active Direc...
true     ...PopulateSCAgentManagedCo... Populates this group with Managed Computer objects that have a Health Service installed.
true     ...DiscoverHealthServicePro... Discovers the properties of a management service
true     ...DiscoverOpsMgrDBWatchers...
true     ...PopulateManagedComputerC... Discover the relationship for the grouping client Management Service Watchers.
true     ...DiscoverWindowsServerCom... Discovers Windows Server computers
true     ...DiscoverManagementGroupC... Discover the relationship for the Management Group to contain Agent Watcher Group
true     ...DiscoverManagementGroupC... (Deprecated)Discover the relationship for the Management Group to contain Health Service Watcher Group

이 명령은 Service Manager 정의된 검색을 검색합니다.

예제 2: 이름으로 검색 가져오기

PS C:\>Get-SCSMDiscovery -Name "*PopulateRootM*"
Enabled  Name                           Description
-------  ----                           -----------
true     ...PopulateRootManagementSe... Populates this group with the Root Management Server.

이 명령은 이름이 PopulateRootM 식과 일치하는 검색을 검색합니다.

예제 3: 이름으로 검색을 가져와서 목록에 표시

PS C:\>Get-SCSMDiscovery -Name "*PopulateRootM*" | Format-List
HasNonCategoryOverride          : False
Enabled                         : true
Target                          : ManagementPackElementUniqueIdentifier=0e7983be-95b9-aed8-ff93-8819e4cefcaa
ConfirmDelivery                 : False
Remotable                       : True
Priority                        : Normal
Category                        : Discovery
DataSource                      : DiscoveryDataSource
DiscoveryClassCollection        : {}
DiscoveryRelationshipCollection : {}
XmlTag                          : Discovery
ManagementGroup                 : psimp2
ManagementGroupId               : 048d4708-ede4-5aed-1317-81d1b0d0b395
Name                            : Microsoft.SystemCenter.PopulateRootManagementServerComputerGroup
Id                              : 21f2d4e2-6cde-b219-e392-0a25cbea12c6
DisplayName                     : Populate Root Management Server Computer Group
Description                     : Populates this group with the Root Management Server.
LanguageCode                    : ENU
Comment                         :
Status                          : Unchanged
LastModified                    : 12/2/2010 12:20:38 AM
TimeAdded                       : 12/2/2010 12:20:38 AM

이 명령은 이름이 PopulateRootM 과 일치하는 검색을 검색한 다음 목록으로 서식이 지정된 결과를 표시합니다.

매개 변수

-ComputerName

연결을 설정할 컴퓨터를 지정합니다. 이 컴퓨터는 System Center Data Access 서비스를 실행해야 합니다. 기본값은 현재 관리 그룹 연결용 컴퓨터입니다.

유효한 형식에는 NetBIOS 이름, IP 주소 또는 FQDN(정규화된 도메인 이름)이 포함됩니다. 로컬 컴퓨터를 지정하려면 컴퓨터 이름, "localhost" 또는 점(.)을 입력합니다.

Type:System.String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Credential

관리 그룹 연결이 실행되는 사용자 계정을 지정합니다. 서버가 지정된 경우 ComputerName 매개 변수에 지정된 서버에 대한 액세스 권한이 계정에 있어야 합니다. 기본값은 현재 사용자입니다.

Get-Credential cmdlet에서 반환되는 PSCredential 개체를 입력할 수 있습니다.

Type:System.Management.Automation.PSCredential
Position:Named
Default value:Current user context
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisplayName

검색할 검색 개체의 표시 이름을 지정합니다.

Type:System.String[]
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:True

-Id

검색할 검색 개체의 ID를 지정합니다. GUID 또는 GUID로 변환될 문자열일 수 있습니다.

Type:System.Guid[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ManagementPack

검색할 검색 개체가 포함된 하나 이상의 관리 팩을 지정합니다.

Get-SCManagementPack cmdlet에서 반환되는 ManagementPack 개체를 입력할 수 있습니다.

Type:Microsoft.EnterpriseManagement.Configuration.ManagementPack[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

검색할 검색 개체의 이름을 지정합니다.

Type:System.String[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:True

-SCSession

관리 서버에 대한 연결을 지정합니다. 기본값은 현재 관리 그룹 연결입니다.

Get-SCManagementGroupConnection cmdlet에서 반환되는 관리 그룹 연결 개체를 입력할 수 있습니다.

Type:Microsoft.SystemCenter.Core.Connection.Connection[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Target

검색 대상으로 지정된 클래스가 포함된 관리 팩을 지정합니다.

Type:Microsoft.EnterpriseManagement.Configuration.ManagementPackClass[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

입력

Microsoft.EnterpriseManagement.Configuration.ManagementPack

관리 팩 개체를 Get-SCSMDiscovery cmdlet의 ManagementPack 매개 변수로 파이프할 수 있습니다.

System.String

검색 이름을 Get-SCSMDiscovery cmdlet의 Name 매개 변수로 파이프할 수 있습니다.

System.Guid

검색 개체의 GUID를 Get-SCSMDiscovery cmdlet의 ID 매개 변수로 파이프할 수 있습니다.

Microsoft.EnterpriseManagement.Configuration.ManagementPackClass

관리 팩을 Get-SCSMDiscovery cmdlet의 대상 매개 변수로 파이프할 수 있습니다.

출력

Microsoft.EnterpriseManagement.Configuration.ManagementPackDiscovery

이 cmdlet은 검색 개체를 생성합니다.