Sync-CMExchangeServer

Sync-CMExchangeServer

Synchronizes Configuration Manager mobile device information with an Exchange Server.

Syntax

Parameter Set: SearchBySiteCodeMandatory
Sync-CMExchangeServer -Address <String> -SiteCode <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Sync-CMExchangeServer cmdlet synchronizes mobile device information with a specified Microsoft Exchange Server for one or more System Center 2012 Configuration Manager sites.

System Center 2012 Configuration Manager works with Exchange Server to manage mobile devices that cannot run System Center 2012 Configuration Manager clients.

Parameters

-Address<String>

Specifies a URL for the Exchange Server.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Force

Synchronizes without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies the site code for a Configuration Manager site associated with the Exchange Server.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.


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 (http://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: Synchronize with an nextref_exchangeExchange Server

This command synchronizes mobile devices for the site that has the site code PE1 with the specified Exchange Server.


PS C:\> Sync-CMExchangeServer -Address "http://localhost/PowerShell" -SiteCode "PE1" 

Related topics

Community Additions

ADD
Show: