Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Invoke-CMForestDiscovery

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Invoke-CMForestDiscovery

Starts a forest discovery operation in Active Directory.

Syntax

Parameter Set: SearchBySiteCodeMandatory
Invoke-CMForestDiscovery -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Invoke-CMForestDiscovery cmdlet starts a forest discovery operation in Active Directory. A forest discovery returns a list of Active Directory sites, subnets, and domains.

Parameters

-SiteCode<String>

Specifies the site that is the starting point for the forest discovery operation.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

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: Invoke a forest discovery operation

This command invokes a forest discovery operation in Active Directory starting at the site that has the site code ContosoCM4.


PS C:\> Invoke-CMForestDiscovery -SiteCode "ContosoCM4"

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.