< Back

Update-DeviceManagement_ExchangeConnectors

Sat Jan 18, 2020 2:21 pm

NAME Update-DeviceManagement_ExchangeConnectors



SYNOPSIS

Updates a "microsoft.graph.deviceManagementExchangeConnector".





SYNTAX

Update-DeviceManagement_ExchangeConnectors -deviceManagementExchangeConnectorId <string> [-connectorServerName

<string>] [-exchangeAlias <string>] [-exchangeConnectorType <string>] [-exchangeOrganization <string>]

[-lastSyncDateTime <DateTimeOffset>] [-primarySmtpAddress <string>] [-serverName <string>] [-status <string>]

[-version <string>] [<CommonParameters>]



Update-DeviceManagement_ExchangeConnectors -deviceManagementExchangeConnectorId <string> -ODataType <string>

[-connectorServerName <string>] [-exchangeAlias <string>] [-exchangeConnectorType <string>] [-exchangeOrganization

<string>] [-lastSyncDateTime <DateTimeOffset>] [-primarySmtpAddress <string>] [-serverName <string>] [-status

<string>] [-version <string>] [<CommonParameters>]





DESCRIPTION

Updates a "microsoft.graph.deviceManagementExchangeConnector" object in the "exchangeConnectors" collection.



The list of Exchange Connectors configured by the tenant.



Graph Call: PATCH ~/deviceManagement/exchangeConnectors





PARAMETERS

-deviceManagementExchangeConnectorId <string>

The ID for a "microsoft.graph.deviceManagementExchangeConnector" object in the "exchangeConnectors" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-lastSyncDateTime <DateTimeOffset>

The "lastSyncDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.deviceManagementExchangeConnector" type.



Last sync time for the Exchange Connector



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-status <string>

The "status" property, of type "microsoft.graph.deviceManagementExchangeConnectorStatus".



This property is on the "microsoft.graph.deviceManagementExchangeConnector" type.



Exchange Connector Status



Valid values: 'none', 'connectionPending', 'connected', 'disconnected'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-primarySmtpAddress <string>

The "primarySmtpAddress" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceManagementExchangeConnector" type.



Email address used to configure the Service To Service Exchange Connector.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-serverName <string>

The "serverName" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceManagementExchangeConnector" type.



The name of the Exchange server.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-connectorServerName <string>

The "connectorServerName" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceManagementExchangeConnector" type.



The name of the server hosting the Exchange Connector.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-exchangeConnectorType <string>

The "exchangeConnectorType" property, of type "microsoft.graph.deviceManagementExchangeConnectorType".



This property is on the "microsoft.graph.deviceManagementExchangeConnector" type.



The type of Exchange Connector Configured.



Valid values: 'onPremises', 'hosted', 'serviceToService', 'dedicated'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-version <string>

The "version" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceManagementExchangeConnector" type.



The version of the ExchangeConnectorAgent



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-exchangeAlias <string>

The "exchangeAlias" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceManagementExchangeConnector" type.



An alias assigned to the Exchange server



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-exchangeOrganization <string>

The "exchangeOrganization" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceManagementExchangeConnector" type.



Exchange Organization to the Exchange server



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ODataType <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-@odata.type <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



This is an alias of the ODataType parameter.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

The ID for a "microsoft.graph.deviceManagementExchangeConnector" object in the "exchangeConnectors" collection.



System.String

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK