Get-CMDiscoveryMethod

Get-CMDiscoveryMethod

Gets a discovery method for Configuration Manager.

Syntax

Parameter Set: SearchDiscoveryMethodsByName
Get-CMDiscoveryMethod [-Name <DiscoveryType> {ActiveDirectoryForestDiscovery | ActiveDirectoryGroupDiscovery | ActiveDirectorySystemDiscovery | ActiveDirectoryUserDiscovery | HeartbeatDiscovery | NetworkDiscovery} ] [-SiteCode <String> ] [ <CommonParameters>]

Detailed Description

The Get-CMDiscoveryMethod cmdlet gets a discovery method for Microsoft System Center 2012 SP1 Configuration Manager. Discovery identifies computer and user resources that System Center 2012 Configuration Manager can manage. If it discovers a resource, Configuration Manager creates a record in the System Center 2012 Configuration Manager database for the resource and its associated information. You can then use the discovery information to help you to install the System Center 2012 Configuration Manager client and create custom queries and collections to logically group resources for related management tasks.

For more information about discovery in System Center 2012 Configuration Manager, see About Configuration Manager Discovery (https://go.microsoft.com/fwlink/?linkid=107444) on TechNet.

Parameters

-Name<DiscoveryType>

Specifies the type of discovery method that the cmdlet gets. The acceptable values for this parameter are:

-- ActiveDirectoryForestDiscovery: Discovers security groups, including local, global, and universal groups from specified locations in Active Directory Domain Services.
-- ActiveDirectoryGroupDiscovery: Discovers additional information, including the OU and group membership of the computer, about previously discovered computers from specified locations in Active Directory Domain Services.
-- ActiveDirectorySystemDiscovery: Discovers computers from specified locations in Active Directory Domain Services.
-- ActiveDirectoryUserDiscovery: Discovers users from specified locations in Active Directory Domain Services.
-- HeartbeatDiscovery: Updates discovery records for Microsoft System Center 2012 SP1 Configuration Manager clients in the System Center 2012 Configuration Manager database without discovering new resources.
-- NetworkForestDiscovery: Searches the network infrastructure for network devices (such as printers, routers, and bridges) that have an IP address.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies a site code.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get a user discovery method

This command gets a System Center 2012 Configuration Manager method that discovers users in the installation.

PS C:\> Get-CMDiscoveryMethod -Name "ActiveDirectoryUserDiscovery"

Set-CMDiscoveryMethod

About Configuration Manager Discovery