Comment on page
Set-DisconnectorState
Sets the state of a disconnector
Set-DisconnectorState [-CSObject] <CSObject> [-Type] <DisconnectorState> [<CommonParameters>]
The Set-DisonnectorState cmdlet allows you to change the state of a disconnector from explicit to normal and vice versa
The disconnected connector space object to modify
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | true |
Accept wildcard characters? | false |
The disconnector type to change the specified CSObject to
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about CommonParameters.
PS C:\> $cs = Get-CSObject -RDN "CN=John Smith" -MA ACMA
Set-DisconnectorState -CSObject $cs -Type Explicit
PS C:\> Get-CSObject -RDN "CN=John Smith" -MA ACMA | Set-DisconnectorState -Type Explicit
PS C:\> $cs = Get-CSObject -RDN "CN=John Smith" -MA ACMA
Set-DisconnectorState -CSObject $cs -Type Normal
PS C:\> Get-PendingExportDeletes -MA ACMA | Set-DisconnectorState -Type Normal
Last modified 1yr ago