Get-SCSMDiscovery
Service Managerから探索情報を取得します。
構文
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>]
説明
Get-SCSMDiscovery コマンドレットは、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 データ アクセス サービスを実行している必要があります。 既定値は、現在の管理グループ接続のコンピューターです。
有効な形式には、NetBIOS 名、IP アドレス、または完全修飾ドメイン名 (FQDN) があります。 ローカル コンピューターを指定するには、コンピューター名、"localhost"、またはドット (.) を入力します。
型: | System.String[] |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-Credential
管理グループ接続を実行するユーザー アカウントを指定します。 アカウントは、 ComputerName パラメーターで指定されているサーバー (サーバーが指定されている場合) にアクセスできる必要があります。 既定値は現在のユーザーです。
Get-Credential コマンドレットによって返される PSCredential オブジェクトを入力できます。
型: | System.Management.Automation.PSCredential |
配置: | Named |
規定値: | Current user context |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-DisplayName
取得する探索オブジェクトの表示名を指定します。
型: | System.String[] |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | True |
-Id
取得する探索オブジェクトの ID を指定します。 これは、GUID または GUID に変換される文字列です。
型: | System.Guid[] |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
-ManagementPack
取得する探索オブジェクトを含む 1 つ以上の管理パックを指定します。
Get-SCManagementPack コマンドレットによって返される ManagementPack オブジェクトを入力できます。
型: | Microsoft.EnterpriseManagement.Configuration.ManagementPack[] |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
-Name
取得する探索オブジェクトの名前を指定します。
型: | System.String[] |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | True |
-SCSession
管理サーバーへの接続を指定します。 既定値は、現在の管理グループ接続です。
Get-SCManagementGroupConnection コマンドレットによって返される管理グループ接続オブジェクトを入力できます。
型: | Microsoft.SystemCenter.Core.Connection.Connection[] |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-Target
探索の対象となるクラスを含む管理パックを指定します。
型: | Microsoft.EnterpriseManagement.Configuration.ManagementPackClass[] |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
入力
Microsoft.EnterpriseManagement.Configuration.ManagementPack
管理パック オブジェクトを Get-SCSMDiscovery コマンドレットの ManagementPack パラメーターにパイプ処理できます。
System.String
探索名を Get-SCSMDiscovery コマンドレットの Name パラメーターにパイプ処理できます。
System.Guid
探索オブジェクトの GUID を Get-SCSMDiscovery コマンドレットの Id パラメーターにパイプ処理できます。
Microsoft.EnterpriseManagement.Configuration.ManagementPackClass
管理パックは、Get-SCSMDiscovery コマンドレットの Target パラメーターにパイプ処理できます。
出力
Microsoft.EnterpriseManagement.Configuration.ManagementPackDiscovery
このコマンドレットは、探索オブジェクトを生成します。