MIM Sync Service
Documentation Home
  • Home
  • Disclaimer
  • Installation
    • Getting Started
    • Downloads
  • Usage
    • Cmdlet Reference
      • Clear-RunHistory
      • Clear-FullSyncWarning
      • Disconnect-CSObject
      • Export-MetaverseConfiguration
      • Export-ManagementAgent
      • Get-Connectors
      • Get-CSObject
      • Get-Disconnectors
      • Get-LastRunDetails
      • Get-MAStatistics
      • Get-MVSchema
      • Get-MVObject
      • Get-MVConfiguration
      • Get-ManagementAgent
      • Get-PendingImports
      • Get-PendingImportAdds
      • Get-PendingImportDeletes
      • Get-PendingImportUpdates
      • Get-PendingExports
      • Get-PendingExportAdds
      • Get-PendingExportDeletes
      • Get-PendingExportRenames
      • Get-PendingExportUpdates
      • Get-RunProfiles
      • Get-RunProfileNames
      • Join-CSObject
      • New-MVObject (Project-MVObject)
      • New-MVQuery
      • Set-DisconnectorState
      • Set-MVProvisioningRulesExtension
      • Start-ManagementAgent
      • Stop-ManagementAgent
      • Sync-CSObject
      • Wait-ManagementAgent
Powered by GitBook
On this page
  • Synopsis
  • Syntax
  • Description
  • Parameters
  • Examples
  • Change a disconnector to an explicit disconnector
  • Change a disconnector to an explicit disconnector using the pipeline
  • Change an explicit disconnector to a normal disconnector
  • Convert explicit disconnectors caused by pending deletes back into normal connectors
  1. Usage
  2. Cmdlet Reference

Set-DisconnectorState

PreviousNew-MVQueryNextSet-MVProvisioningRulesExtension

Last updated 2 years ago

Synopsis

Sets the state of a disconnector

Syntax

Set-DisconnectorState [-CSObject] <CSObject> [-Type] <DisconnectorState> [<CommonParameters>]

Description

The cmdlet allows you to change the state of a disconnector from explicit to normal and vice versa

Parameters

-CSObject <CSObject>

The disconnected connector space object to modify

Required?

true

Position?

1

Default value

Accept pipeline input?

true

Accept wildcard characters?

false

-Type

The disconnector type to change the specified CSObject to

Required?

true

Position?

2

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

<CommonParameters>

Examples

Change a disconnector to an explicit disconnector

PS C:\> $cs = Get-CSObject -RDN "CN=John Smith" -MA ACMA
Set-DisconnectorState -CSObject $cs -Type Explicit

Change a disconnector to an explicit disconnector using the pipeline

PS C:\> Get-CSObject -RDN "CN=John Smith" -MA ACMA | Set-DisconnectorState -Type Explicit

Change an explicit disconnector to a normal disconnector

PS C:\> $cs = Get-CSObject -RDN "CN=John Smith" -MA ACMA
Set-DisconnectorState -CSObject $cs -Type Normal

Convert explicit disconnectors caused by pending deletes back into normal connectors

PS C:\> Get-PendingExportDeletes -MA ACMA | Set-DisconnectorState -Type Normal

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

Set-DisonnectorState
about CommonParameters